From 23a7f399d13d1413d60b0a96d9b5ee7afcc6f943 Mon Sep 17 00:00:00 2001 From: Ivan Giuliani Date: Thu, 12 Jan 2012 18:21:25 +0100 Subject: [PATCH] Save resolution when closing the ticket --- helpdesk/views/staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index b792094e..5037063d 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -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 = []