Bug 30628: Fix patron selection in batch patron modification tool
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Apr 2022 08:32:28 +0000 (10:32 +0200)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 23 Jun 2022 01:51:17 +0000 (03:51 +0200)
commit0d9bdc015d1fffa38b3210d29b7f2ef4c70480e7
tree3f93ab2d84ef7a80749d59f7c80c65098c248fdd
parent8308f924aaeaa2fe3c25ea161dd0ef7928d27c17
Bug 30628: Fix patron selection in batch patron modification tool

bug 28014 added Datatables to this view, but the form is submitted with
only the checkboxes from the first page.

Solution adapted from https://stackoverflow.com/questions/33240409/how-to-submit-checkboxes-from-all-pages-with-jquery-datatables

Test plan:
Have more than 20 cardnumbers, use the batch patron modification tool
Select (not all) patrons from the first page and second page
Submit the form
Notice that the patrons you have selected appear on the confirmation
page.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7e053bf5462494cf91f2f2be745416d2d7ad261b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt