]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:58:48 +0000 (13:58 -0300)
commitb85a24d6debdbea7bb5786a1470b5143ade3cfca
tree9a61ee7a89b6b0189185a8ea172d23e0de563eb8
parentf9c696fd03f177e6e2b4727126f124601f495f7c
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>
C4/Items.pm
t/db_dependent/Circulation/transfers.t