diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 55afc39ff0..6eda1b2063 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -926,6 +926,9 @@
+ [% IF ( template_id ) %] + + [% END %]
diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 70196334d9..901e11faf0 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -971,6 +971,7 @@ if ( $op eq 'run' ) { 'auth_val_errors' => \@authval_errors, 'enter_params' => 1, 'id' => $report_id, + 'template_id' => $template_id, ); } else { my ( $sql, $header_types ) = $report->prep_report( \@param_names, \@sql_params );