From f72fbfa024034174b6a3a4738d4cd96e65f32d53 Mon Sep 17 00:00:00 2001 From: Arkadiy Korotaev Date: Sat, 4 Jan 2020 08:50:02 +0100 Subject: [PATCH] fix: avoid exception of using function get_tickets_in_queues as property --- helpdesk/views/staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index c1a9b388..2d96208d 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -839,7 +839,7 @@ def ticket_list(request): if filter: try: - ticket = huser.get_tickets_in_queues.get(**filter) + ticket = huser.get_tickets_in_queues().get(**filter) return HttpResponseRedirect(ticket.staff_url) except Ticket.DoesNotExist: # Go on to standard keyword searching