mirror of
https://github.com/eyebluecn/tank.git
synced 2026-10-19 16:14:38 +00:00
fix: sort bug.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user