mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-12 18:00:45 +01:00
Fix to prevent tickets being escalated too soon. Thanks to Walter Doekes for the patch. (Google Code #148; Github #8)
This commit is contained in:
parent
e49ba97b8c
commit
46d8e6284e
@ -92,7 +92,7 @@ def escalate_tickets(queues, verbose):
|
||||
| Q(on_hold=False)
|
||||
).filter(
|
||||
Q(last_escalation__lte=req_last_escl_date)
|
||||
| Q(last_escalation__isnull=True)
|
||||
| Q(last_escalation__isnull=True, created__lte=req_last_escl_date)
|
||||
):
|
||||
|
||||
t.last_escalation = datetime.now()
|
||||
|
Loading…
Reference in New Issue
Block a user