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 <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 926568a4e2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
272510faf7
commit
bb776ffe10
|
|
@ -913,7 +913,7 @@
|
|||
<span class="label">Total number of results:</span>
|
||||
[% unlimited_total | html %]
|
||||
[% IF unlimited_total >= limit %]
|
||||
([% limit | html %] shown)
|
||||
([% results.size | html %] shown)
|
||||
[% END %]
|
||||
</p>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue