From 094fb06b92cffcf77302b2f69657bee2a92b57fb Mon Sep 17 00:00:00 2001 From: j Date: Fri, 28 Jul 2023 19:08:37 +0200 Subject: [PATCH] fix default error log sort --- pandora/log/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/log/views.py b/pandora/log/views.py index d8dfa4f42..c0fa76756 100644 --- a/pandora/log/views.py +++ b/pandora/log/views.py @@ -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]