OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ff26f
)
Include the issue status in search results and the Activity page. (#3700)
author
Eric Davis
<edavis@littlestreamsoftware.com>
Sun, 2 Aug 2009 04:36:06 +0000
(
04:36
+0000)
committer
Eric Davis
<edavis@littlestreamsoftware.com>
Sun, 2 Aug 2009 04:36:06 +0000
(
04:36
+0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2834
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/models/issue.rb
patch
|
blob
|
history
diff --git
a/app/models/issue.rb
b/app/models/issue.rb
index
578f01e
..
7d2dd41
100644
(file)
--- 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' : '') }