Bug 39681

Summary: AllowRenewalIfOtherItemsAvailable doesn't look at item groups
Product: Koha Reporter: hebah
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, mteal
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description hebah 2025-04-18 18:54:52 UTC
To recreate:
Enable item groups and item group holds, as well as having AllowRenewalIfOtherItemsAvailable set to allow.
Create a record with at least one item group, leaving at least one other item on the record available, and check it out to a patron.
Ensure this corresponds to a circ rule with renewals available.
Place a group-level hold on the same volume you just checked out for a different patron.
Log into OPAC as patron with the item, see that you can renew it.

Technically, yes, other items on that record are available, but no other items in that group can fill the hold. That renewal should have been blocked.
Comment 1 mteal 2025-04-22 13:44:20 UTC
This is a big issue for our library. Many of our DVD's are broken out into item groups (volumes) as well as Graphic Novel series and some books. So patrons with holds for a specific volume are left waiting through the 2 cycles of renewals before their hold is allocated to them.