Bug 21991: Pass param names to report limit tool
To test: 1 - Define a report like: SELECT barcode, itemnumber FROM items WHERE (homebranch = <<Branch|branches>> AND 0 ) OR <<Branch|branches>>=<<Branch|branches>> 2 - Run it, you get results 3 - Select 'Rows to display' 50 4 - No results 5 - Apply patch 6 - Run report 7 - Change display rows 8 - Results remain! Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
3a7053346c
commit
702c727470
1 changed files with 3 additions and 0 deletions
|
@ -710,6 +710,9 @@ canned reports and writing custom SQL reports.</p>
|
|||
[% FOREACH p IN sql_params %]
|
||||
<input type="hidden" name="sql_params" value="[% p | html %]"/>
|
||||
[% END %]
|
||||
[% FOREACH n IN param_names %]
|
||||
<input type="hidden" name="param_name" value="[% n | html %]"/>
|
||||
[% END %]
|
||||
|
||||
<label for="limit">Rows per page: </label>
|
||||
<select name="limit" id="limit">
|
||||
|
|
Loading…
Reference in a new issue