sorting dirs not enough in iter_folder..
This commit is contained in:
@@ -445,6 +445,7 @@ def list_view(name, token = None):
|
|||||||
'token': get_direct_token(share, file),
|
'token': get_direct_token(share, file),
|
||||||
})
|
})
|
||||||
files.append(status)
|
files.append(status)
|
||||||
|
files.sort(key = lambda x: x['name'])
|
||||||
# direct share links not allowed if password isnt set
|
# 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
|
allow_direct = get_or_none('direct_links', share) if get_or_none('pass_hash', share) else False
|
||||||
upload = get_or_none('upload', share)
|
upload = get_or_none('upload', share)
|
||||||
|
|||||||
Reference in New Issue
Block a user