Commit 907703d9 authored by 八千流's avatar 八千流 Committed by 老广

[Update] 修复 工单按用户搜索无效的问题 (#3540)

parent e1919d0a
......@@ -13,7 +13,7 @@ class TicketViewSet(mixins.TicketMixin, viewsets.ModelViewSet):
serializer_class = serializers.TicketSerializer
queryset = models.Ticket.objects.all()
permission_classes = (IsValidUser,)
filter_fields = ['status', 'title', 'action']
filter_fields = ['status', 'title', 'action', 'user_display']
search_fields = ['user_display', 'title']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment