mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 10:21:05 +01:00
Save resolution when closing the ticket
This commit is contained in:
parent
533fdc8c2a
commit
23a7f399d1
@ -344,7 +344,7 @@ def update_ticket(request, ticket_id, public=False):
|
|||||||
c.save()
|
c.save()
|
||||||
ticket.tags = tags
|
ticket.tags = tags
|
||||||
|
|
||||||
if new_status == Ticket.RESOLVED_STATUS:
|
if new_status in [ Ticket.RESOLVED_STATUS, Ticket.CLOSED_STATUS ]:
|
||||||
ticket.resolution = comment
|
ticket.resolution = comment
|
||||||
|
|
||||||
messages_sent_to = []
|
messages_sent_to = []
|
||||||
|
Loading…
Reference in New Issue
Block a user