]> source.dussan.org Git - redmine.git/commitdiff
Backported r3692 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 14:22:52 +0000 (14:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 14:22:52 +0000 (14:22 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3713 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/reports_controller.rb

index 804bdd32f6136bf6bee48dc1a20751810890fcf8..ca5b8674f4688b25c30a4913b35ea89f07b2a67d 100644 (file)
@@ -61,7 +61,7 @@ class ReportsController < ApplicationController
       render :template => "reports/issue_report_details"  
     when "subproject"
       @field = "project_id"
-      @rows = @project.descendants.active
+      @rows = @project.descendants.visible
       @data = issues_by_subproject
       @report_title = l(:field_subproject)
       render :template => "reports/issue_report_details"  
@@ -72,7 +72,7 @@ class ReportsController < ApplicationController
       @categories = @project.issue_categories
       @assignees = @project.members.collect { |m| m.user }.sort
       @authors = @project.members.collect { |m| m.user }.sort
-      @subprojects = @project.descendants.active
+      @subprojects = @project.descendants.visible
       issues_by_tracker
       issues_by_version
       issues_by_priority