diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-09 09:57:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-09 09:57:37 +0000 |
commit | ffa4dd00f6a19c428d35dbd2e0e3b51db7459319 (patch) | |
tree | c27d756a6006133805c2adf6fc947644e265d05e /app/helpers/my_helper.rb | |
parent | 933dc946d4ba5d755e93be7fd15271ec9fb717ae (diff) | |
download | redmine-ffa4dd00f6a19c428d35dbd2e0e3b51db7459319.tar.gz redmine-ffa4dd00f6a19c428d35dbd2e0e3b51db7459319.zip |
Watched issues count on "My page" is shown for all issues instead of only open ones (#15777).
Patch by Karel Pičman and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15315 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/my_helper.rb')
-rw-r--r-- | app/helpers/my_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |