From 1c593f02a5fe7ced7681702c45ed14a02d8de91a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 21 Sep 2022 14:14:32 +0000 Subject: [PATCH] Bug 31594: Use ount of results for displaying number shown To test: 1 - Create a report with a number of results that is not a multiple of 20 SELECT barcode FROM items 2 - Run the report 3 - Go to the final page 4 - Note report says 20 shown, but there are less 5 - Apply patch 6 - Reload and confirm correct number of shown is shown :-) Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer --- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fbf077c7c7..c629d73fcf 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 @@ -913,7 +913,7 @@ Total number of results: [% unlimited_total | html %] [% IF unlimited_total >= limit %] - ([% limit | html %] shown) + ([% results.size | html %] shown) [% END %]

[% END %] -- 2.30.2