From 0479734d233ca05ac1a19de8682d7c9f910be44b Mon Sep 17 00:00:00 2001 From: rkh Date: Wed, 14 Jul 2010 09:43:56 +0000 Subject: [PATCH] display category correctly git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1378 7926756e-e54e-46e6-9721-ed318f58905e --- app/helpers/reporting_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/reporting_helper.rb b/app/helpers/reporting_helper.rb index e8ec6a9a76..951ca41bb0 100644 --- a/app/helpers/reporting_helper.rb +++ b/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