diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-18 06:42:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-18 06:42:25 +0000 |
commit | 6cd84af522bbc1904d937440a6ad2628cd75fce9 (patch) | |
tree | 21a89eae842660308c7d213cf22617633ac23ab8 /app/controllers/projects_controller.rb | |
parent | bbd24fe350a3bdba18eaa3d1a1d9329fd538260d (diff) | |
download | redmine-6cd84af522bbc1904d937440a6ad2628cd75fce9.tar.gz redmine-6cd84af522bbc1904d937440a6ad2628cd75fce9.zip |
Limits the tracker list in filters and issue counts (#285).
git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 7e1798a06..8753badde 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -137,7 +137,7 @@ class ProjectsController < ApplicationController @users_by_role = @project.users_by_role @subprojects = @project.children.visible.to_a @news = @project.news.limit(5).includes(:author, :project).reorder("#{News.table_name}.created_on DESC").to_a - @trackers = @project.rolled_up_trackers + @trackers = @project.rolled_up_trackers.visible cond = @project.project_condition(Setting.display_subprojects_issues?) |