Patch #3700 ยป issue_status_in_search.diff
| app/models/issue.rb (working copy) | ||
|---|---|---|
|
:include => [:project, :journals],
|
||
|
# sort by id so that limited eager loading doesn't break with postgresql
|
||
|
:order_column => "#{table_name}.id"
|
||
|
acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id}: #{o.subject}"},
|
||
|
acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"},
|
||
|
:url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}},
|
||
|
:type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') }
|
||
|
|
||