Patch #35268 » issue.diff
| 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}
|
||