From 5bd00d3293437f7bf4158ec12c17e821b51e9014 Mon Sep 17 00:00:00 2001 From: Christian Simon Date: Tue, 22 Apr 2014 23:21:35 +0200 Subject: [PATCH] Show description changes in activity. * fixes #13314 Signed-off-by: Christian Simon --- app/models/journal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/journal.rb b/app/models/journal.rb index e3de2b3..1438739 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -36,7 +36,7 @@ class Journal < ActiveRecord::Base :author_key => :user_id, :find_options => {:include => [{:issue => :project}, :details, :user], :conditions => "#{Journal.table_name}.journalized_type = 'Issue' AND" + - " (#{JournalDetail.table_name}.prop_key = 'status_id' OR #{Journal.table_name}.notes <> '')"} + " (#{JournalDetail.table_name}.prop_key IN ('status_id','description') OR #{Journal.table_name}.notes <> '')"} before_create :split_private_notes after_create :send_notification -- 1.9.1