Merge pull request #4209 from jumpserver/ftp_log_order

fix:修改 ftp 日志按开始日期排序
pull/4223/head
BaiJiangJie 2020-07-01 15:02:44 +08:00 committed by GitHub
commit f40b50dddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):