Merge pull request #101 from kratorius/closed-resolution-bugfix

Save resolution when closing the ticket
This commit is contained in:
Ross Poulton 2012-01-23 14:44:45 -08:00
commit 6a18689faa

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