]> git.koha-community.org Git - koha.git/commit
Bug 22553: Unchecking a subpermission does not uncheck the top level permission
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2019 13:21:08 +0000 (13:21 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Apr 2019 20:06:50 +0000 (20:06 +0000)
commit383ec1f51b4c505ac23471f8b5ee1622dc862787
treedef3c1205f2908cb084d3736874b3ed8f0635247
parent192e3baa75f16891582244595fe305292b886dda
Bug 22553: Unchecking a subpermission does not uncheck the top level permission

This patch makes a minor change to the set permissions page's JavaScript
so that unchecking a subpermission will uncheck the top level
permission.

To test, apply the patch and open the "Set permissions" page for a
patron.

 - Expand a permission with multiple subpermissions.
 - Check the top level permission. All subpermissions should be checked.
 - Uncheck one of the subpermissions. The top level permission should
   now be unchecked.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt