fix: 修复工单自定义搜索时500的问题

pull/8436/head
Jiangjie.Bai 2 years ago committed by Jiangjie.Bai
parent 81598a5264
commit 3fde31f2e0

@ -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',

Loading…
Cancel
Save