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
: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-1/1)