Defect #12513 » pdf.patch
pdf.rb 2012-12-05 15:05:43.259803419 +0100 | ||
---|---|---|
421 | 421 |
issue_list(issues) do |issue, level| |
422 | 422 |
if query.grouped? && |
423 | 423 |
(group = query.group_by_column.value(issue)) != previous_group |
424 |
if group |
|
425 |
previous_group = group.clone |
|
426 |
else |
|
427 |
previous_group = nil |
|
428 |
end |
|
424 | 429 |
pdf.SetFontStyle('B',10) |
425 | 430 |
group_label = group.blank? ? 'None' : group.to_s |
426 | 431 |
group_label << " (#{query.issue_count_by_group[group]})" |
427 | 432 |
pdf.Bookmark group_label, 0, -1 |
428 | 433 |
pdf.RDMCell(table_width + col_id_width, row_height * 2, group_label, 1, 1, 'L') |
429 | 434 |
pdf.SetFontStyle('',8) |
430 |
previous_group = group |
|
431 | 435 |
end |
432 | 436 | |
433 | 437 |
# fetch row values |
- « Previous
- 1
- 2
- Next »