fix:修改 ftp 日志按开始日期排序

pull/4209/head
jym503558564 2020-06-23 18:24:45 +08:00
parent 923f0ed477
commit a7e1ed6f03
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class FTPLogViewSet(CreateModelMixin,
]
filter_fields = ['user', 'asset', 'system_user', 'filename']
search_fields = filter_fields
ordering = ['-date_start']
class UserLoginLogViewSet(ListModelMixin, CommonGenericViewSet):