Merge branch 'bug_9719' into 3.14-master
This commit is contained in:
commit
2e1eca842c
|
|
@ -750,10 +750,14 @@ canned reports and writing custom SQL reports.</p>
|
|||
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %]
|
||||
<pre id="sql_output">[% sql |html %]</pre>
|
||||
|
||||
<form>
|
||||
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
|
||||
<input type="hidden" name="phase" value="Run this report"/>
|
||||
<input type="hidden" name="reports" value="[% report_id %]"/>
|
||||
|
||||
[% FOREACH p IN sql_params %]
|
||||
<input type="hidden" name="sql_params" value="[% p %]"/>
|
||||
[% END %]
|
||||
|
||||
<label for="limit">Rows per page: </label>
|
||||
<select name="limit">
|
||||
[% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
|
||||
|
|
|
|||
|
|
@ -748,6 +748,7 @@ elsif ($phase eq 'Run this report'){
|
|||
'errors' => $errors,
|
||||
'pagination_bar' => pagination_bar($url, $totpages, $input->param('page')),
|
||||
'unlimited_total' => $total,
|
||||
'sql_params' => \@sql_params,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue