diff --git a/app/helpers/reporting_helper.rb b/app/helpers/reporting_helper.rb index 0203a7a1e9..6b7803b9ed 100644 --- a/app/helpers/reporting_helper.rb +++ b/app/helpers/reporting_helper.rb @@ -78,7 +78,7 @@ module ReportingHelper when :category_id then IssueCategory.find(value.to_i).name when :cost_type_id then mapped value, CostType, l(:caption_labor) when :cost_object_id then cost_object_link value - when :work_package_id then link_to_issue WorkPackage.find(value.to_i) + when :work_package_id then link_to_work_package_preview WorkPackage.find(value.to_i) when :spent_on then format_date(value.to_date) when :type_id then Type.find(value.to_i).name when :week then "#{l(:label_week)} #%s" % value.to_i.modulo(100)