mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-30 21:50:01 +00:00
perf: changr secret record api
This commit is contained in:
parent
a5cef74356
commit
becb10a453
@ -36,5 +36,5 @@ class ChangeSecretRecordViewSet(mixins.ListModelMixin, OrgGenericViewSet):
|
||||
execution = get_object_or_none(AutomationExecution, pk=eid)
|
||||
if execution:
|
||||
queryset = queryset.filter(execution=execution)
|
||||
queryset = queryset.order_by('is_success', '-date_start')
|
||||
queryset = queryset.order_by('-date_start')
|
||||
return queryset
|
||||
|
Loading…
Reference in New Issue
Block a user