Bug 36568: Fix id parameter in template
Fix missed case of changing parameter name from "reports" to "id" To test: 1. Find or create an SQL report that will return more than 20 rows 2. Run the report 3. Change the "Rows per page" drop-down to a new value --> An empty page is displayed! 4. Apply patch 5. Repeat steps 2-3 --> The report is displayed with the appropriate number of results Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
0b4bb48f2c
commit
66e03ef4e5
|
|
@ -1031,7 +1031,7 @@
|
|||
|
||||
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect">
|
||||
<input type="hidden" name="op" value="run"/>
|
||||
<input type="hidden" name="reports" value="[% id | html %]"/>
|
||||
<input type="hidden" name="id" value="[% id | html %]"/>
|
||||
[% FOREACH p IN sql_params %]
|
||||
<input type="hidden" name="sql_params" value="[% p | html %]"/>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue