Bug 38281

Summary: Cancelled hold on hold shelf at Library B shows the item as being in the stacks at Library A
Product: Koha Reporter: Chanel Wheeler <chanel.wheeler>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, mspinney, rpalermo
Version: 24.05   
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 Chanel Wheeler 2024-10-28 17:32:13 UTC
If an item owned by Library A is transited to Library B with a trapped hold and then the hold is canceled after the item shows up on the expired holds list, Koha displays the item as being in the stacks back at Library A. It should show Library B. (After checking the item in, it does correctly transit the item back to the owning library.)

To recreate: 
1. Have item belonging to another library expire on the hold shelf
2. On the "holds awaiting pickup" page (waitingreserves.pl), cancel the hold.
3. Look up the item again -- it says Available and lists the current library as the one the item came from (not where it's at).