Save resolution when closing the ticket

This commit is contained in:
Ivan Giuliani 2012-01-12 18:21:25 +01:00
parent 533fdc8c2a
commit 23a7f399d1

View File

@ -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 = []