Project

General

Profile

Feature #13314 ยป 0001-Show-description-changes-in-activity.patch

Christian Simon, 2014-04-22 23:26

View differences:

app/models/journal.rb
36 36
                            :author_key => :user_id,
37 37
                            :find_options => {:include => [{:issue => :project}, :details, :user],
38 38
                                              :conditions => "#{Journal.table_name}.journalized_type = 'Issue' AND" +
39
                                                             " (#{JournalDetail.table_name}.prop_key = 'status_id' OR #{Journal.table_name}.notes <> '')"}
39
                                                             " (#{JournalDetail.table_name}.prop_key IN ('status_id','description') OR #{Journal.table_name}.notes <> '')"}
40 40

  
41 41
  before_create :split_private_notes
42 42
  after_create :send_notification
    (1-1/1)