From fd7f73a18e34e1f537f64b8084913bfaed50676a Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:02:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98=20(#8493)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng626 <1304903146@qq.com> --- apps/tickets/api/ticket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/tickets/api/ticket.py b/apps/tickets/api/ticket.py index 712d4b6fa..0cf9652a6 100644 --- a/apps/tickets/api/ticket.py +++ b/apps/tickets/api/ticket.py @@ -32,6 +32,7 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet): 'open': serializers.TicketApplySerializer } model = Ticket + perm_model = Ticket filterset_class = filters.TicketFilter search_fields = [ 'title', 'type', 'status'