]> git.koha-community.org Git - koha.git/commit
Bug 36169: Patron categories with type='Staff' should be able to have guarantees
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Tue, 27 Feb 2024 02:31:09 +0000 (02:31 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 9 Aug 2024 16:44:55 +0000 (18:44 +0200)
commit54ef9bd7755e86ce3905aeb53d8821d5c6f0e314
tree4c5ef201c343def0ab2232a702edbd02ef2e8351
parentfa8048e63a5461b8d953759b29319ab1823d734c
Bug 36169: Patron categories with type='Staff' should be able to have guarantees

Library staff - whose patron category has a type='Staff' should be able to have guarantees added.

Test plan:
1) Create a 'Library staff' patron category with 'Category type' = 'Staff'

2) Create a patron account using the 'Library staff' patron category

3) Notice the '+ Add guarantee' button is not displayed in the members toolbar for the 'Library staff' patron you created

4) Apply patches and restart services

5) Refresh your browser window

6) Notice the '+ Add guarantee' button is now displaying for the 'Library staff' patron

7) Confirm you can successfully add a guarantee

8) Run unit test t/db_dependent/Koha/Patrons.t

Sponsored-By: Waitaki District Council, New Zealand
Signed-off-by: Tadeusz „tadzik” Sośnierz <tadeusz@sosnierz.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Patron.pm
t/db_dependent/Koha/Patrons.t