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
This commit is contained in:
Jean-Philippe Lang 2012-12-08 09:45:38 +00:00
parent 1bcff510b1
commit 5c407a8c40
1 changed files with 1 additions and 1 deletions

View File

@ -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')