mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-01-29 17:28:53 +01:00
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:
commit
c143cb35a8
@ -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…
Reference in New Issue
Block a user