@@ -507,7 +507,7 module Redmine | |||
|
507 | 507 | pdf.SetFontStyle('',8) |
|
508 | 508 | base_x = pdf.GetX |
|
509 | 509 | i = 1 |
|
510 | issue.ancestors.each do |ancestor| | |
|
510 | issue.ancestors.visible.each do |ancestor| | |
|
511 | 511 | pdf.SetX(base_x + i) |
|
512 | 512 | buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status.to_s}): #{ancestor.subject}" |
|
513 | 513 | pdf.RDMMultiCell(190 - i, 5, buf) |
@@ -578,7 +578,7 module Redmine | |||
|
578 | 578 | pdf.SetFontStyle('B',9) |
|
579 | 579 | pdf.RDMCell(35+155,5, l(:label_subtask_plural) + ":", "LTR") |
|
580 | 580 | pdf.Ln |
|
581 | issue_list(issue.descendants.sort_by(&:lft)) do |child, level| | |
|
581 | issue_list(issue.descendants.visible.sort_by(&:lft)) do |child, level| | |
|
582 | 582 | buf = truncate("#{child.tracker} # #{child.id}: #{child.subject}", |
|
583 | 583 | :length => truncate_length) |
|
584 | 584 | level = 10 if level >= 10 |
General Comments 0
You need to be logged in to leave comments.
Login now