mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-07 10:16:46 +02:00
fix<ticket-search>: avoid exception of using function get_tickets_in_queues as property
This commit is contained in:
parent
65943e8623
commit
f72fbfa024
@ -839,7 +839,7 @@ def ticket_list(request):
|
|||||||
|
|
||||||
if filter:
|
if filter:
|
||||||
try:
|
try:
|
||||||
ticket = huser.get_tickets_in_queues.get(**filter)
|
ticket = huser.get_tickets_in_queues().get(**filter)
|
||||||
return HttpResponseRedirect(ticket.staff_url)
|
return HttpResponseRedirect(ticket.staff_url)
|
||||||
except Ticket.DoesNotExist:
|
except Ticket.DoesNotExist:
|
||||||
# Go on to standard keyword searching
|
# Go on to standard keyword searching
|
||||||
|
Loading…
x
Reference in New Issue
Block a user