Commit 9976537d authored by Stephen Zhuang's avatar Stephen Zhuang

Sort fileadmin by filename additionally

parent 3820ae87
...@@ -375,7 +375,7 @@ class FileAdmin(BaseView, ActionsMixin): ...@@ -375,7 +375,7 @@ class FileAdmin(BaseView, ActionsMixin):
items.append((f, op.join(path, f), op.isdir(fp), op.getsize(fp))) items.append((f, op.join(path, f), op.isdir(fp), op.getsize(fp)))
# Sort by type # Sort by type
items.sort(key=itemgetter(2), reverse=True) items.sort(key=itemgetter(2, 1), reverse=True)
# Generate breadcrumbs # Generate breadcrumbs
accumulator = [] accumulator = []
......
Markdown is supported
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