Bug 42105

Summary: Don't count items with waiting holds as available
Product: Koha Reporter: Magnus Enger <magnus>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt, lisette, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Magnus Enger 2026-03-16 10:27:34 UTC
To reproduce in KTD: 

- Set OPACHoldsIfAvailableAtPickup = Don't allow
- Find a record with one item in the staff interface (e.g. "Programming Perl") and place a hold on it, e.g. for Edna Acosta
- Log in to the OPAC as a diferent user and find the same record
- Try to place a hold on the record
- The "Pick up location" will have one element and it will be grayed out. 
- If you hover over the library in the dropdown there will be a "tooltip" that says "At least one item is available at this library". But the waiting item should not be counted as available.