fix<ticket-search>: avoid exception of using function get_tickets_in_queues as property

This commit is contained in:
Arkadiy Korotaev 2020-01-04 08:50:02 +01:00
parent 65943e8623
commit f72fbfa024
No known key found for this signature in database
GPG Key ID: 4BD092DD84540FAB

View File

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