Bug 23129: Set holdingbranch to library that initiates transfer
To test: 1 - Find an item 2 - Check it in at anothe rbranch and initiate a transfer 3 - View the item details or check db - note that holdingbranch is set as the destination library 4 - Complete or cancel the transfer 5 - Apply patch 6 - Initiate a new transfer 7 - Note the holdingbranch is set to the initiating library Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
61aa04e6cb
commit
40380339f9
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ sub ModItemTransfer {
|
|||
VALUES (?, ?, NOW(), ?)");
|
||||
$sth->execute($itemnumber, $frombranch, $tobranch);
|
||||
|
||||
ModItem({ holdingbranch => $tobranch }, undef, $itemnumber, { log_action => 0 });
|
||||
ModItem({ holdingbranch => $frombranch }, undef, $itemnumber, { log_action => 0 });
|
||||
ModDateLastSeen($itemnumber);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue