]> git.koha-community.org Git - koha.git/commit
Bug 12446: Limit available categories when using "Add guarantee" button
authorMaryse Simard <maryse.simard@inlibro.com>
Wed, 21 Oct 2020 00:39:51 +0000 (20:39 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Jun 2022 16:33:12 +0000 (13:33 -0300)
commitb69a7977d8285f6bb659c07c8480756b8e4b9044
tree76848a669809d2b70cd689e159cadf14c1d96436
parentb8f1b0e73d8a0b9562361b983a38d9eafcf202eb
Bug 12446: Limit available categories when using "Add guarantee" button

Test plan:
1) Have some patron categories that can and cannot be guarantee
2) Visit a patron's account and click the "Add guarantee" button
3) In the "category" dropdown, note that all categories are available
4) Apply this patch
5) Repeat step 2 and 3; the dropdown now only contains the categories
for which "can be guarantee" is set to "Yes".

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
members/memberentry.pl