Merge pull request #792 from koriaf/master

fix<ticket-search>: avoid exception of using function get_tickets_in_queues as property
This commit is contained in:
Garret Wassermann 2020-01-04 14:29:43 -05:00 committed by GitHub
commit c143cb35a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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