]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Sep 2021 12:04:48 +0000 (14:04 +0200)
commit63437e25726568bb44c7274e8eb7c23d3ea009b3
treecedbc38e644d9aad3d3696db6fdc1139329810c7
parente3c1b2068ff2f0c136f706ce0ec213c332e818c0
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>
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt