Bug 23695: Set holding branch to transferring branch when manually initiating a transfer
authorNick <nick@bywatersolutions.com>
Mon, 30 Sep 2019 10:37:03 +0000 (10:37 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 13:45:48 +0000 (15:45 +0200)
commit3b1640e0ef16c694f8ac58d17ee736f8fe87ed6a
tree10b1dc7dae2fc47cb3d56a9ff37234f67b6d1c0c
parenteeb7ac6fc0d14c9e731b7759c78f37cadcfa575f
Bug 23695: Set holding branch to transferring branch when manually initiating a transfer

To test:
 1 - Go to Circulation->Transfer
 2 - Note your signed in branch
 3 - Find an item from your branch and create a transfer to branch B
 4 - Confirm the item is marked as held at your current branch and is being transferred to B
 5 - Find an item from a third branch, branch C
 6 - Transfer that item to brnach B
 7 - Confirm the item is held at your current branch and is being transferred to B
 8 - prove -v t/db_dependent/Circulation.t
 9 - prove -v t/db_dependent/Koha/Items.t
10 - prove -v t/db_dependent/RotatingCollections.t

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/RotatingCollections.pm
circ/branchtransfers.pl
t/db_dependent/Circulation.t
t/db_dependent/Koha/Items.t