Fix issue pdf export #561
The pdf export tried to export the initial journal, which it shouldn't.
This commit is contained in:
parent
9e12deda97
commit
8f4439e0d4
|
@ -408,6 +408,7 @@ module Redmine
|
|||
pdf.RDMCell(190,5, l(:label_history), "B")
|
||||
pdf.Ln
|
||||
for journal in issue.journals.find(:all, :include => [:user], :order => "#{Journal.table_name}.created_at ASC")
|
||||
next if journal.initial?
|
||||
pdf.SetFontStyle('B',8)
|
||||
pdf.RDMCell(190,5, format_time(journal.created_at) + " - " + journal.user.name)
|
||||
pdf.Ln
|
||||
|
|
Loading…
Reference in New Issue