diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-08 09:45:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-08 09:45:38 +0000 |
commit | 5c407a8c4034cf7321a895fcf2115bddfee2a64d (patch) | |
tree | 7bea9b25cb42ffe46d8a1d50cdcd6362954fcbb9 /lib/redmine | |
parent | 1bcff510b150b240e4ec943c92d178c94f83d1f2 (diff) | |
download | redmine-5c407a8c4034cf7321a895fcf2115bddfee2a64d.tar.gz redmine-5c407a8c4034cf7321a895fcf2115bddfee2a64d.zip |
Fixed that issues grouped by custom field is broken in PDF export (#12513).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10956 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 0000ddeba..3a246cfc2 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -428,7 +428,7 @@ module Redmine if query.grouped? && (group = query.group_by_column.value(issue)) != previous_group pdf.SetFontStyle('B',10) - group_label = group.blank? ? 'None' : group.to_s + group_label = group.blank? ? 'None' : group.to_s.dup group_label << " (#{query.issue_count_by_group[group]})" pdf.Bookmark group_label, 0, -1 pdf.RDMCell(table_width + col_id_width, row_height * 2, group_label, 1, 1, 'L') |