Project

General

Profile

Patch #35268 » issue.diff

Thomas Löber, 2021-05-20 16:29

View differences:

app/models/issue.rb
acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed
acts_as_customizable
acts_as_watchable
acts_as_searchable :columns => ['subject', "#{table_name}.description"],
acts_as_searchable :columns => ["#{table_name}.subject", "#{table_name}.description"],
:preload => [:project, :status, :tracker],
:scope => lambda {|options| options[:open_issues] ? self.open : self.all}
    (1-1/1)