Bug 40056

Summary: Transferring item with record-level hold does not transfer item, only the to wrong destination
Product: Koha Reporter: Anneli Österman <anneli.osterman>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
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:
Attachments: Image of the pop of you get when trying to transfer an item with record-level hold

Description Anneli Österman 2025-06-03 09:44:08 UTC
Created attachment 182917 [details]
Image of the pop of you get when trying to transfer an item with record-level hold

The process of transferring an item which bibliographic record has an unfullfilled hold is strange. I'm not sure how to describe it so here is how to reproduce it and questions:

1. Make a record-level hold for Centerville
2. Go to Circulation -> Transfer
3. Transfer an item from the stage 1 record to Franklin (You are in Centerville)
4. Get a pop up that tells that there is a hold in Centerville and a button "Transfer to Centerville"
5. Click the transfer button
6. You will get a notice that the item was transferred to Franklin
7. Go to the record of the stage 1
8. Notice that the item is not in transfer. You can also check this from branchtransfers table with query SELECT * FROM branchtransfers where itemnumber="put here the itemnumber of the transferred item";
9. Go to the holds of the record and notice that the hold is in transfer to Centerville

Questions:
- Why does it want to transfer to the same location as where I am at the moment and not to the location I picked?
- Why does it say that item was transferred when it actually was not?
- Why does it transfer the hold? I'm not transferring holds when useing the Transfer tool.
- Why does the hold get filled when transferring an item? I'm not trying to fill holds, I'm trying to ignore the hold and transfer the item. Other options in the pop up are "Cancel hold and attempt to transfer" and "Ignore and return to transfers". It kind of forces to fill the hold or cancel it and does not let you to transfer the item regardless of the hold.
Comment 1 Anneli Österman 2025-06-12 06:29:43 UTC
Looks like there already was a bug about this problem. I just did not find it earlier.

*** This bug has been marked as a duplicate of bug 36762 ***