From 2881dd2e5f2a406c18c8fd0afc3f8c00295caecd Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Mon, 6 Jun 2016 07:44:00 +0000 Subject: [PATCH] When closing a ticket, clear assignee field --- src/Vervis/Handler/Ticket.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Vervis/Handler/Ticket.hs b/src/Vervis/Handler/Ticket.hs index aa12c4c..ad85d29 100644 --- a/src/Vervis/Handler/Ticket.hs +++ b/src/Vervis/Handler/Ticket.hs @@ -222,9 +222,10 @@ postTicketCloseR shr prj num = do then return False else do update tid - [ TicketDone =. True - , TicketClosed =. now - , TicketCloser =. pid + [ TicketAssignee =. Nothing + , TicketDone =. True + , TicketClosed =. now + , TicketCloser =. pid ] return True setMessage $