From 273b2068a43fe5261c2991b64d38fec44d103352 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 12 Dec 2018 16:16:50 +0000 Subject: [PATCH] Bug 21991: Pass param names to report limit tool To test: 1 - Define a report like: SELECT barcode, itemnumber FROM items WHERE (homebranch = <> AND 0 ) OR <>=<> 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 Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (cherry picked from commit 702c727470d332615fb1428c55f503183935f29d) Signed-off-by: Martin Renvoize (cherry picked from commit 4de2ad9839319778333c1a3163f318e437ff01fb) Signed-off-by: Lucas Gass --- .../prog/en/modules/reports/guided_reports_start.tt | 3 +++ 1 file changed, 3 insertions(+) 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 9dde0263a3..e0e07159e8 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 @@ -708,6 +708,9 @@ canned reports and writing custom SQL reports.

[% FOREACH p IN sql_params %] [% END %] + [% FOREACH n IN param_names %] + + [% END %]