Patch #35268 » issue.diff
app/models/issue.rb | ||
---|---|---|
43 | 43 |
acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed |
44 | 44 |
acts_as_customizable |
45 | 45 |
acts_as_watchable |
46 |
acts_as_searchable :columns => ['subject', "#{table_name}.description"],
|
|
46 |
acts_as_searchable :columns => ["#{table_name}.subject", "#{table_name}.description"],
|
|
47 | 47 |
:preload => [:project, :status, :tracker], |
48 | 48 |
:scope => lambda {|options| options[:open_issues] ? self.open : self.all} |
49 | 49 |