mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 08:16:03 +01: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:
@@ -50,7 +50,7 @@ module MyHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def issueswatched_items
|
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
|
end
|
||||||
|
|
||||||
def news_items
|
def news_items
|
||||||
|
|||||||
Reference in New Issue
Block a user