Bug 22150: Ability to select or unselect all member flags
authorJasmine Amohia <jasmineamohia.student@wegc.school.nz>
Thu, 21 Jan 2021 12:00:38 +0000 (12:00 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 Jan 2021 13:59:27 +0000 (14:59 +0100)
commit7241e519956213bff7851d21a4788bf0ef5b0a61
tree99672ba419e262cfbad265688824bd367cc8d6f1
parenta22b3bb504b0a9a77aa9ce3e9f326cc71fcf8d96
Bug 22150: Ability to select or unselect all member flags

To test:
1) Find a patron
2) Click More -> Set permissions
3) Click 'Clear all', confirm all checkboxes get cleared and disabled
4) Click 'Select all', confirm all checkboxes get selected
5) Unselect one checkbox (not superlibrarian), and confirm that the
   superlibrarian checkbox also gets unselected
6) Confirm that saving still works as expected

Edit: Rebased by Owen Leonard

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt