mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-09 03:54:08 +00:00
Fix sorting in file browser
This commit is contained in:
@ -111,7 +111,7 @@ def ftpbrowser(request, subpath):
|
||||
return render_pgweb(request, 'download', 'downloads/ftpbrowser.html', {
|
||||
'basepath': subpath.rstrip('/'),
|
||||
'directories': directories,
|
||||
'files': sorted(files),
|
||||
'files': sorted(files, key=lambda f: f['name']),
|
||||
'breadcrumbs': breadcrumbs,
|
||||
'readme': file_readme,
|
||||
'messagefile': file_message,
|
||||
|
Reference in New Issue
Block a user