display issue correctly

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1383 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent b04a5dddfc
commit 4bee296cee
  1. 1
      app/helpers/reporting_helper.rb

@ -53,6 +53,7 @@ module ReportingHelper
when :category_id then IssueCategory.find(value.to_i).name when :category_id then IssueCategory.find(value.to_i).name
when :cost_type_id then CostType.find(value.to_i).name when :cost_type_id then CostType.find(value.to_i).name
when :cost_object then CostObject.find(value.to_i).subject when :cost_object then CostObject.find(value.to_i).subject
when :issue_id then link_to_issue Issue.find(value.to_i)
else "??? #{key}: #{value.inspect} ???" else "??? #{key}: #{value.inspect} ???"
end end
end end

Loading…
Cancel
Save