fix: sort bug.

This commit is contained in:
lishuang
2024-07-27 22:48:24 +08:00
parent 3c29788980
commit 350e898bda
+1 -1
View File
@@ -209,7 +209,7 @@ func (this *MatterController) Search(writer http.ResponseWriter, request *http.R
if matter1.Dir {
return true
} else if matter2.Dir {
return true
return false
} else {
cmp := strings.Compare(matter1.Name, matter2.Name)
if cmp < 0 {