From ffa4dd00f6a19c428d35dbd2e0e3b51db7459319 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 9 Apr 2016 09:57:37 +0000 Subject: [PATCH] Watched issues count on "My page" is shown for all issues instead of only open ones (#15777). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Karel Pičman and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15315 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/my_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb index 504bd0b05..6a0542234 100644 --- a/app/helpers/my_helper.rb +++ b/app/helpers/my_helper.rb @@ -50,7 +50,7 @@ module MyHelper end def issueswatched_items - Issue.visible.on_active_project.watched_by(User.current.id).recently_updated.limit(10) + Issue.visible.open.on_active_project.watched_by(User.current.id).recently_updated.limit(10) end def news_items