Defect #12513 » pdf.patch
| pdf.rb 2012-12-05 15:05:43.259803419 +0100 | ||
|---|---|---|
|
issue_list(issues) do |issue, level|
|
||
|
if query.grouped? &&
|
||
|
(group = query.group_by_column.value(issue)) != previous_group
|
||
|
if group
|
||
|
previous_group = group.clone
|
||
|
else
|
||
|
previous_group = nil
|
||
|
end
|
||
|
pdf.SetFontStyle('B',10)
|
||
|
group_label = group.blank? ? 'None' : group.to_s
|
||
|
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')
|
||
|
pdf.SetFontStyle('',8)
|
||
|
previous_group = group
|
||
|
end
|
||
|
# fetch row values
|
||
- « Previous
- 1
- 2
- Next »