mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
Save resolution when closing the ticket
This commit is contained in:
@ -344,7 +344,7 @@ def update_ticket(request, ticket_id, public=False):
|
||||
c.save()
|
||||
ticket.tags = tags
|
||||
|
||||
if new_status == Ticket.RESOLVED_STATUS:
|
||||
if new_status in [ Ticket.RESOLVED_STATUS, Ticket.CLOSED_STATUS ]:
|
||||
ticket.resolution = comment
|
||||
|
||||
messages_sent_to = []
|
||||
|
Reference in New Issue
Block a user