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
This commit is contained in:
Jean-Philippe Lang 2009-12-18 14:59:19 +00:00
parent 1ba5779f94
commit 6a369f28dd
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class ReportsController < ApplicationController
render :template => "reports/issue_report_details" render :template => "reports/issue_report_details"
when "version" when "version"
@field = "fixed_version_id" @field = "fixed_version_id"
@rows = @project.versions.sort @rows = @project.shared_versions.sort
@data = issues_by_version @data = issues_by_version
@report_title = l(:field_version) @report_title = l(:field_version)
render :template => "reports/issue_report_details" render :template => "reports/issue_report_details"
@ -67,7 +67,7 @@ class ReportsController < ApplicationController
render :template => "reports/issue_report_details" render :template => "reports/issue_report_details"
else else
@trackers = @project.trackers @trackers = @project.trackers
@versions = @project.versions.sort @versions = @project.shared_versions.sort
@priorities = IssuePriority.all @priorities = IssuePriority.all
@categories = @project.issue_categories @categories = @project.issue_categories
@assignees = @project.members.collect { |m| m.user } @assignees = @project.members.collect { |m| m.user }