Merge pull request #8430 from jumpserver/pr@v2.23@fix_ticketaction

fix: 修复工单自定义搜索时500的问题
pull/8437/head
Jiangjie.Bai 2022-06-17 15:25:03 +08:00 committed by GitHub
commit 3b5ee06535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet):
}
filterset_class = TicketFilter
search_fields = [
'title', 'action', 'type', 'status', 'applicant_display'
'title', 'type', 'status', 'applicant_display'
]
ordering_fields = (
'title', 'applicant_display', 'status', 'state', 'action_display',