https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27248 --- Comment #60 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 212013 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212013&action=edit Bug 27248: (RM follow-up) Send only the visible rows to Batch extend due dates The report page rebuilds the hidden inputs of the batch operation forms from the rows currently shown in the results table, whenever the table is drawn, paged, resized or searched. This is what the "Batch operations with N visible records" count and the "Send visible ..." menu entries promise. The Batch extend due dates form was not part of that synchronisation, so it always carried every row of the report from when the page was rendered, whatever was shown in the table. Rebuild its itemnumber inputs together with those of the batch item modification and deletion forms. To test: 1. Create a report that returns itemnumbers and more rows than fit on one page of the results table, for example SELECT itemnumber FROM items 2. Run the report and click "Open in DataTables" in the toolbar 3. Choose Batch operations > Batch extend due dates => Before the patch: the barcode list holds the barcodes of all rows of the report, not only those on the page of the table => After the patch: the barcode list holds the barcodes of the rows on the current page of the table 4. Search the results table for part of a barcode, then choose Batch extend due dates again => The barcode list holds only the barcodes of the matching rows Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.