From bb776ffe10b90e4b864aa48cb05a6868478e748a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 21 Sep 2022 14:14:32 +0000 Subject: [PATCH] Bug 31594: Use count 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 926568a4e25628b2138aafaf62c9f4c3b8d4a8c2) Signed-off-by: Lucas Gass --- .../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 9551980fb2..d16629a54a 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.39.5