Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (1.43 KB)
Patch #7687
ยป patch-reportestemplates.txt
Alexander Kriventsov
, 2011-02-22 16:00
--- app/views/my/blocks/_issuesreportedbyme.rhtml.orig 2011-02-22 14:44:05.000000000 +0000
+++ app/views/my/blocks/_issuesreportedbyme.rhtml 2011-02-22 14:44:42.000000000 +0000
@@ -1,6 +1,6 @@
-<h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3>
+<h3><%=l(:label_reported_issues)%> (<%= Issue.visible.open.count(:conditions => { :author_id => User.current.id }) %>)</h3>
-<% reported_issues = Issue.visible.find(:all,
+<% reported_issues = Issue.visible.open.find(:all,
:conditions => { :author_id => User.current.id },
:limit => 10,
:include => [ :status, :project, :tracker ],
--- app/views/my/blocks/_issueswatched.rhtml.orig 2011-02-22 14:41:28.000000000 +0000
+++ app/views/my/blocks/_issueswatched.rhtml 2011-02-22 14:41:53.000000000 +0000
@@ -1,5 +1,5 @@
-<h3><%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)</h3>
-<% watched_issues = Issue.visible.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %>
+<h3><%=l(:label_watched_issues)%> (<%= Issue.visible.open.watched_by(user.id).count %>)</h3>
+<% watched_issues = Issue.visible.on_active_project.open.watched_by(user.id).recently_updated.with_limit(10) %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %>
<% if watched_issues.length > 0 %>
(1-1/1)
Loading...