https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30557
--- Comment #251 from Olivia Reynolds <[email protected]> --- Created attachment 210226 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210226&action=edit Bug 30557: (follow-up) Track selected items externally A limitation of DataTables in server-side processing mode is that the data from rows not currently displayed is inaccessible. This meant that selections from previous pages or that have been filtered out could not be used in batch operations. Additionally, when items are batch-removed from the list, we have no way of clearing the selection from other pages in DataTables. Therefore, we refresh the page in this case to ensure DataTables doesn't display an erroneous selection count. Test plan: 1. Apply patch and rebuild JavaScript. 2. Create an item list with several pages of items. 3. Select some items from the first page. 4. Navigate to the next page. 5. Filter the list to only include one item from this page. 6. Note the number of selected rows displayed at the top of the table. 7. Click "Batch remove from list". 8. Verify the confirmation modal displays the same number of rows. 9. Confirm the operation. 10. Verify the correct number of items were removed from the list. 11. Verify there are no now items selected. Sponsored-by: CLAMS -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
