HTML debug sort is now case-insensitive
This commit is contained in:
parent
e834547867
commit
780bed087d
|
@ -11,7 +11,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Version string = "0.52.0"
|
||||
Version string = "0.52.1"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -665,7 +665,7 @@ func serveDebugHtml(args []string, index *Index) httprouter.Handle {
|
|||
fileCount := strconv.Itoa(len(indexDump))
|
||||
|
||||
sort.SliceStable(indexDump, func(p, q int) bool {
|
||||
return indexDump[p] < indexDump[q]
|
||||
return strings.ToLower(indexDump[p]) < strings.ToLower(indexDump[q])
|
||||
})
|
||||
|
||||
var htmlBody strings.Builder
|
||||
|
|
Loading…
Reference in New Issue