Broadcast change of new ticket (open tasks will be refreshed in web app).
This commit is contained in:
parent
2774204aba
commit
0f8c093bec
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ returns
|
||||||
# update articles
|
# update articles
|
||||||
Ticket::Article.where( :ticket_id => self.id ).update_all( ['ticket_id = ?', data[:ticket_id] ] )
|
Ticket::Article.where( :ticket_id => self.id ).update_all( ['ticket_id = ?', data[:ticket_id] ] )
|
||||||
|
|
||||||
|
# touch new ticket (to broadcast change)
|
||||||
|
Ticket.find( data[:ticket_id] ).touch
|
||||||
|
|
||||||
# update history
|
# update history
|
||||||
|
|
||||||
# create new merge article
|
# create new merge article
|
||||||
|
|
Loading…
Reference in a new issue