display category correctly

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

@ -45,6 +45,7 @@ module ReportingHelper
when :tyear then value
when :tweek then "#{l(:label_week)} ##{value}"
when :tmonth then month_name(value.to_i)
when :category_id then IssueCategory.find(value.to_i).name
else "#{key}: #{value}"
end
end

Loading…
Cancel
Save