]> git.koha-community.org Git - koha.git/commit
Bug 18747: Select All in Add Patron Option in Patron Lists only selects the first...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 27 Aug 2021 16:06:02 +0000 (16:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 9 Oct 2021 02:11:10 +0000 (16:11 -1000)
commitab85ed474a78d45f9b7330312608d562f225f9e1
treeb24a70a9da3583be5f25b1cca76ca58626d5edbd
parent2aec206e2382b1a16cd0947ce146fe585ebfa1d8
Bug 18747: Select All in Add Patron Option in Patron Lists only selects the first 20 entries

This patch corrects the JavaScript functions for the "select all" and
"clear all" action when viewing patrons in a list. Before this
correction, checkboxes which were previously in hidden table rows would
not be checked.

To test, apply the patch and go to Patrons -> Patron Lists

- View a patron list
- If necessary, add multiple patrons to the list so that the number
  exceeds 20.
- Change the number of entries shown by the DataTable: Show [ 50 ]
  entries.
- Click "Select all." All visible checkboxes should be checked.
- Click "Clear all." All checkboxes should be unchecked.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit ad5db004e4ca08c37ebfb31a455568613c1d25a4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt