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'