Browse Source

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
tags/3.3.0
Jean-Philippe Lang 8 years ago
parent
commit
ffa4dd00f6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/helpers/my_helper.rb

+ 1
- 1
app/helpers/my_helper.rb 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

Loading…
Cancel
Save