summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-08-02 04:36:06 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-08-02 04:36:06 +0000
commit9ed048dc4212bff1d685ab24eb011439f9fc11fa (patch)
tree7334da8a6ad4ba25ff243333c05a73e80fffd559 /app
parent06ff26f09271be0cdf8579709c4984530325a4e6 (diff)
downloadredmine-9ed048dc4212bff1d685ab24eb011439f9fc11fa.tar.gz
redmine-9ed048dc4212bff1d685ab24eb011439f9fc11fa.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 578f01ee7..7d2dd413c 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -39,7 +39,7 @@ class Issue < ActiveRecord::Base
: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' : '') }