fix: 作业日志搜索过滤问题

pull/9651/head
Aaron3S 2 years ago committed by Jiangjie.Bai
parent e001003ed3
commit 958122847b

@ -30,6 +30,7 @@ class JobAuditViewSet(OrgReadonlyModelViewSet):
('date_start', ('date_from', 'date_to'))
]
search_fields = ['creator__name', 'material']
filterset_fields = ['creator__name', 'material']
serializer_class = JobLogSerializer
ordering = ['-date_start']

Loading…
Cancel
Save