forked from extern/django-helpdesk
Merge pull request #101 from kratorius/closed-resolution-bugfix
Save resolution when closing the ticket
This commit is contained in:
commit
6a18689faa
@ -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