Commit 95b75523 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Server file browser: sort ignoring case

parent 0d056ca9
......@@ -568,8 +568,8 @@ class JFlowServer (object):
dirs.append(f)
else:
files.append(f)
dirs.sort()
files.sort()
dirs.sort(key=lambda s: s.lower())
files.sort(key=lambda s: s.lower())
return dirs + files
@cherrypy.expose
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment