perf: change secret (#9048)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2022-11-11 19:15:43 +08:00
committed by GitHub
parent 8b351f49e5
commit b100bbf838
2 changed files with 2 additions and 2 deletions

View File

@@ -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('-date_start')
queryset = queryset.order_by('-date_started')
return queryset