diff --git a/code/app.py b/code/app.py index b54d58d..7879a90 100644 --- a/code/app.py +++ b/code/app.py @@ -445,6 +445,7 @@ def list_view(name, token = None): 'token': get_direct_token(share, file), }) files.append(status) + files.sort(key = lambda x: x['name']) # direct share links not allowed if password isnt set allow_direct = get_or_none('direct_links', share) if get_or_none('pass_hash', share) else False upload = get_or_none('upload', share)