https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36534
--- Comment #2 from Katariina Pohto <[email protected]> --- Created attachment 166068 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166068&action=edit Bug 36534: Batch operations when using limit in report The issue appears also outside of using the SQL limit. The last page of results is usually smaller than the results-per-page setting, but the link for batch operations will show the results-per-page limit in that case too. The batch operations will open with all visible records, and the page already has a variable for visible records. This patch changes the variable to the visible records one. Test plan: 1) Create a report of items with a limit of e.g., 26. 2) Run report. 3) See that number of results shown exceeds 20 but the link says "Batch operations with 20 visible records". 4) See that the second page shows 6 results but the link is still for 20 records. 5) Apply patch. 6) Run report again. 7) See that the link texts will show correctly 26 records on the first page and 6 records on the second. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
