Bug 39681 - AllowRenewalIfOtherItemsAvailable doesn't look at item groups
Summary: AllowRenewalIfOtherItemsAvailable doesn't look at item groups
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-18 18:54 UTC by hebah
Modified: 2025-04-22 13:44 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.