Bug 14892

Summary: Initial checkin of an item to be transferred shows incorrect holding location
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: colin.campbell, gmcharlt, kyle.m.hall, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2015-09-24 20:38:50 UTC
If an item from another branch is checked in (with AutomaticItemReturn=Do) a transfer message yellow box appears, but in the checkins table the item shows the home branch for both Home and Holding locations.  A second checkin updates the table correctly
Comment 1 Colin Campbell 2016-01-12 11:53:54 UTC
(In reply to Nick Clemens from comment #0)
> If an item from another branch is checked in (with AutomaticItemReturn=Do) a
> transfer message yellow box appears, but in the checkins table the item
> shows the home branch for both Home and Holding locations.  A second checkin
> updates the table correctly

Are there not two different things happening here? If an item from Lib A is checked in at Lib B a transit is generated from B to A and the holding branch is set to the home branch A.

The second checkin, when the item is no longer on loan, has no affect on the transit but changes the holding library back to B to record a 'last seen' there.

What you're seeing after the initial checkin is the correct behaviour in that it is the explicit intention of the transit generating code. There is a certain ambiguity because the holding library can then be changed to record the last wanding location
Comment 2 Katrin Fischer 2023-08-05 14:27:38 UTC
We've relabelled the holdingbranch column to "Tranfer to" since. So this works well now.