forked from 0x2620/pandora
fix default error log sort
This commit is contained in:
parent
fdc7279836
commit
094fb06b92
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ actions.register(removeErrorLogs, cache=False)
|
|||
def parse_query(data, user):
|
||||
query = {}
|
||||
query['range'] = [0, 100]
|
||||
query['sort'] = [{'key':'name', 'operator':'+'}]
|
||||
query['sort'] = [{'key': 'modified', 'operator': '-'}]
|
||||
for key in ('keys', 'group', 'list', 'range', 'sort', 'query'):
|
||||
if key in data:
|
||||
query[key] = data[key]
|
||||
|
|
Loading…
Reference in a new issue