mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Fixing missing capitalized Q_OPEN_STATUSES variable
This commit is contained in:
parent
ab2c2f79a4
commit
3e6e39fc39
@ -85,7 +85,7 @@ def escalate_tickets(queues, verbose):
|
||||
|
||||
Q_OPEN_STATUSES = Q()
|
||||
for open_status in Ticket.OPEN_STATUSES:
|
||||
q_open_statuses |= Q(status=open_status)
|
||||
Q_OPEN_STATUSES |= Q(status=open_status)
|
||||
|
||||
for t in q.ticket_set.filter(
|
||||
Q_OPEN_STATUSES
|
||||
|
@ -21,7 +21,7 @@ User = get_user_model()
|
||||
|
||||
Q_OPEN_STATUSES = Q()
|
||||
for open_status in Ticket.OPEN_STATUSES:
|
||||
q_open_statuses |= Q(status=open_status)
|
||||
Q_OPEN_STATUSES |= Q(status=open_status)
|
||||
|
||||
|
||||
class OpenTicketsByUser(Feed):
|
||||
|
Loading…
Reference in New Issue
Block a user