Bug 35704 - Add hold limits to Parent Child Item Types
Summary: Add hold limits to Parent Child Item Types
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement with 5 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-04 21:22 UTC by Lisette Scheer
Modified: 2024-02-16 18:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisette Scheer 2024-01-04 21:22:09 UTC
Similar to bug 30324, the hold limits aren't enforced for parent/child item types. 

A parent limit doesn't seem to matter at all in this case.
Comment 1 Katrin Fischer 2024-01-05 13:56:58 UTC
The parent/child itemtype feature is currently only used for the number of checkouts.
Comment 2 Lisette Scheer 2024-01-05 17:35:12 UTC
ah, I misunderstood. 
I'm renaming this into an enhancement request:
Parent and child itemtype hold limits not enforced as expected -> Add hold limits to Parent Child Item Types
Comment 3 Kris 2024-02-08 20:55:53 UTC
We added video games to our collection and is set up to have 6 item types, 3 for new and 3 for regular collection. We'd like to limit the total holds for all 6 item types to 2, no matter if it's Playstation or Xbox New.
Comment 4 Catrina Berka 2024-02-16 18:11:10 UTC
Hold limits are enforced for the sum of child item types, but not their corresponding parent or the default: For example, I have two child item types (Audio book and new books) under a parent Book. In my circulation rules, I set Holds allowed (total) for audio books and new books to 1 each and then set my Book rule to 4. I place a hold on an audio book. It successfully prevents me from placing a second hold. I do the same with new books - first hold successfully placed, second prevented. When I attempt to place a first hold on a Book,  I get the error Cannot place hold - Too many holds: can only place a maximum of 2 total holds. Koha is only adding the holds allowed from the children item types, not considering the parent or default limits.

It is misleading to have the holds allowed (total) columns on child item type circulation rules if they're not enforced in parent/child item type rules.