Bug 41849

Summary: Cancelling filled hold from group does not delete remaining pending holds from group
Product: Koha Reporter: Sara Brown <sbrown>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, gmcharlt, lisette, tomascohen
Version: 25.11   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15516
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sara Brown 2026-02-13 21:13:23 UTC

    
Comment 1 Sara Brown 2026-02-13 21:18:31 UTC
When cancelling a filled/waiting hold for an item from a bib or item-level hold group, pending holds on the rest of the bibs/items from that group are not automatically cancelled. Since there's no indication on the cancellation screen that the hold was part of a group, staff will have no way to know that they need to view the patron's account to cancel the other holds from that group.

I tested cancelling a filled hold by checking the item in (preferred), cancelling as a staff member from the patron's account, from the bib, and from Holds awaiting pickup. In all cases, the filled hold was cancelled, but the other bibs/items from the group remained pending for the patron.
Comment 2 Sara Brown 2026-02-13 21:26:55 UTC
Edited to add: 

This was tested with three bibs or items, so two holds remained in a group after the filled hold was cancelled.

It makes sense to retain the group when a hold on a specific bib/item from the group is cancelled for *unfilled* holds, but typically, filled holds are cancelled because the patron hasn't picked the item before it expires (or contacts the library to say that they no longer want the item). For cancellations of filled holds that are part of a group, the rest of the group should be automatically cancelled OR staff should have an indication that they need to view the patron's account to cancel the rest of the group.