Browse Source

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

pull/8436/head
Jiangjie.Bai 2 years ago committed by Jiangjie.Bai
parent
commit
3fde31f2e0
  1. 2
      apps/tickets/api/ticket.py

2
apps/tickets/api/ticket.py

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