diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-18 14:59:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-18 14:59:19 +0000 |
commit | 6a369f28ddab41673f51c1b7a640ad6054d8e258 (patch) | |
tree | 1c8989e5839ee5cafa2b948acff2cfce241233af /app/controllers/reports_controller.rb | |
parent | 1ba5779f94315eaff1e301fc07a4897eda7aa515 (diff) | |
download | redmine-6a369f28ddab41673f51c1b7a640ad6054d8e258.tar.gz redmine-6a369f28ddab41673f51c1b7a640ad6054d8e258.zip |
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
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r-- | app/controllers/reports_controller.rb | 4 |
1 files 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 } |