@@ -, +, @@ Runtime Parameters --- .../en/modules/reports/guided_reports_start.tt | 16 +++++++++++++++- reports/guided_reports.pl | 13 +------------ 2 files changed, 16 insertions(+), 13 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -486,7 +486,21 @@ canned reports and writing custom SQL reports.

Enter parameters for report [% name %]:

[% IF ( notes ) %]

[% notes %]

[% END %] [% FOREACH sql_param IN sql_params %] -

[% sql_param.entry %]: [% sql_param.input %]

+ [% IF sql_param.input == 'date' %] +

+ [% sql_param.entry %]: + Show Calendar + +

+ [% ELSE %] +

[% sql_param.entry %]: [% sql_param.input %]

+ [% END %] [% END %] --- a/reports/guided_reports.pl +++ a/reports/guided_reports.pl @@ -421,18 +421,7 @@ elsif ($phase eq 'Run this report'){ my ($text,$authorised_value) = split /\|/,$split[$i*2+1]; my $input; if ($authorised_value eq "date") { - $input = qq( - Show Calendar - - ); + $input = 'date'; } elsif ($authorised_value) { my $dbh=C4::Context->dbh; --