Skip to content

Commit 17a5350

Browse files
committed
fixed issues list print custom_text bug
1 parent ddacd5a commit 17a5350

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/redmine_gtt_print/issues_to_json.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@ def call
2121
layout: @layout,
2222
outputFilename: "DailyList",
2323
outputFormat: "pdf",
24-
custom_text: @other_attributes[:custom_text],
2524
attributes: {
25+
custom_text: @other_attributes[:custom_text],
2626
datasource: [
2727
{
2828
table: {
2929
columns: %w( id status start_date created_on assigned_to_name subject ),
3030
data: @issues.map{|i| issue_to_data_row i}
3131
}
3232
}
33-
3433
]
3534
}
3635
}

0 commit comments

Comments
 (0)