]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 1 Oct 2021 18:21:28 +0000 (14:21 -0400)
commitad5db004e4ca08c37ebfb31a455568613c1d25a4
tree0432958f36ccd12c7753ffda7d08f909b4e972fb
parentc1e62798f1269080c190dd3956ece93e42cf11f1
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>
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt