##// END OF EJS Templates
Use the correct local variables in the PDF export. #6382...
Eric Davis -
r3990:1809eefe4cd1
parent child
Show More
@@ -154,7 +154,7 module Redmine
154 if query.grouped? && (group = query.group_by_column.value(issue)) != previous_group
154 if query.grouped? && (group = query.group_by_column.value(issue)) != previous_group
155 pdf.SetFontStyle('B',9)
155 pdf.SetFontStyle('B',9)
156 pdf.Cell(277, row_height,
156 pdf.Cell(277, row_height,
157 (group.blank? ? 'None' : group.to_s) + " (#{@issue_count_by_group[group]})",
157 (group.blank? ? 'None' : group.to_s) + " (#{query.issue_count_by_group[group]})",
158 1, 1, 'L')
158 1, 1, 'L')
159 pdf.SetFontStyle('',8)
159 pdf.SetFontStyle('',8)
160 previous_group = group
160 previous_group = group
@@ -255,7 +255,7 module Redmine
255 pdf.SetFontStyle('B',9)
255 pdf.SetFontStyle('B',9)
256 pdf.Cell(35,5, l(:field_description) + ":")
256 pdf.Cell(35,5, l(:field_description) + ":")
257 pdf.SetFontStyle('',9)
257 pdf.SetFontStyle('',9)
258 pdf.MultiCell(155,5, @issue.description,"BR")
258 pdf.MultiCell(155,5, issue.description,"BR")
259
259
260 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY)
260 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY)
261 pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY)
261 pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY)
General Comments 0
You need to be logged in to leave comments. Login now