From 6a369f28ddab41673f51c1b7a640ad6054d8e258 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 18 Dec 2009 14:59:19 +0000 Subject: [PATCH] Display shared versions on the issue summary view (#4425). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3187 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/reports_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index d192a1955..900dcfed9 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -31,7 +31,7 @@ class ReportsController < ApplicationController render :template => "reports/issue_report_details" when "version" @field = "fixed_version_id" - @rows = @project.versions.sort + @rows = @project.shared_versions.sort @data = issues_by_version @report_title = l(:field_version) render :template => "reports/issue_report_details" @@ -67,7 +67,7 @@ class ReportsController < ApplicationController render :template => "reports/issue_report_details" else @trackers = @project.trackers - @versions = @project.versions.sort + @versions = @project.shared_versions.sort @priorities = IssuePriority.all @categories = @project.issue_categories @assignees = @project.members.collect { |m| m.user } -- 2.39.5