1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2016-04-09 09:57:37 +00:00
parent 933dc946d4
commit ffa4dd00f6

View File

@ -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