[Koha-bugs] [Bug 26659] An item can be renewed even if there are holds waiting to be filled
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Oct 24 23:22:35 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26659
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #111522|0 |1
is obsolete| |
--- Comment #5 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 112402
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112402&action=edit
Bug 26659: Fix incorrect comparison in checkout renewability
The syntax used here was wrong and it allowed incorrectly to renew
checkouts which should not have been allowed because there were
holds waiting to be filled. This scenario can be reproduced at least
with using local hold groups.
To test:
1. In the circ rules for all libraries under "Default holds policy by item
type" section
select for itemtype Book the policies "From local hold group" and "patron's
hold group"
2. Enable AllowRenewalIfOtherItemsAvailable
3. Create local hold group for branch A and branch B
(/cgi-bin/koha/admin/library_groups.pl)
4. Create biblio with 2 items of itemtype Book, one in branch A and other in B
5. Checkout item from branch A to patron PA
6. Create bib level hold for patron PB whose home library is branch A.
7. Try go to renew now the loan for patron PA and notice it would work
8. Apply patch
9. Try to go renew the loan for patron PA and notice it doesn't work.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list