]> git.koha-community.org Git - koha.git/commit
Bug 19530: Prevent multiple transfers from existing for one item
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 25 Oct 2017 18:24:18 +0000 (14:24 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 8 Mar 2018 09:34:20 +0000 (10:34 +0100)
commitf1fc90de9537358db49823e9399b4172702fad83
treecdf95faa1adf61d87bb6d5d72aa83107913a1860
parent605e6fb59f676e2fea225b27c5da4285a5abece1
Bug 19530: Prevent multiple transfers from existing for one item

We have found multiple open branch transfers for a given item. While I'm not sure how it is happening at this point, it seems that it would make sense to cancel any existing branch transfers when initiating a new one.

Test Plan:
1) prove t/db_dependent/Circulation/transfers.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 00fbf1878eb2a767769b1405aec4fff1b13711d0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Items.pm
t/db_dependent/Circulation/transfers.t