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 }