Include the issue status in search results and the Activity page. (#3700)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2834 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
06ff26f092
commit
9ed048dc42
@ -39,7 +39,7 @@ class Issue < ActiveRecord::Base
|
|||||||
:include => [:project, :journals],
|
:include => [:project, :journals],
|
||||||
# sort by id so that limited eager loading doesn't break with postgresql
|
# sort by id so that limited eager loading doesn't break with postgresql
|
||||||
:order_column => "#{table_name}.id"
|
: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}},
|
:url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}},
|
||||||
:type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') }
|
:type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user