Bug 34977: The "Patron Lists" only allows deleting one list at a time
authorSalah Ghedds <salah.ghedda@inLibro.com>
Wed, 4 Oct 2023 18:43:54 +0000 (14:43 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Nov 2023 14:41:32 +0000 (11:41 -0300)
commitc018a9de48805336bfba80e02554bbc777c9aadf
tree261695f52a07dc61e95186f29d6f6ed7c30fadb7
parent5d373a55f4aa185c7e86aa3d3b14cb689c31e849
Bug 34977: The "Patron Lists" only allows deleting one list at a time

In the patrons lists, it's only possible to delete on list at a time. This patch add the possibility to select lists and delete them at once.

TEST PLAN
1. Apply the patch.
2. Create at least 2 patron lists (Navigate to Tools > Patron lists > New patron list).
3. Select the lists you want to delete.
4. Click the "Delete selected lists" button.
5. Confirm that the selected lists have been deleted.
6. Ensure that the button cannot be used if no list is selected.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt
patron_lists/delete.pl