Fixing missing capitalized Q_OPEN_STATUSES variable

This commit is contained in:
Sam Splunks 2024-02-01 15:43:56 +01:00 committed by GitHub
parent ab2c2f79a4
commit 3e6e39fc39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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