]> git.koha-community.org Git - koha.git/commit
Bug 7329: Items onloan are deleted when undoing import into catalog
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Wed, 7 Dec 2011 10:54:29 +0000 (11:54 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 13 Jul 2012 02:19:33 +0000 (22:19 -0400)
commit9afc11a9ebb94bd303c8c3205516b5a3b08b6e6e
tree483d4fdcb7be4ad3814406ad54d361d28a0e2540
parent556eb39c497f1abc98ed62cffb413d55531767d3
Bug 7329: Items onloan are deleted when undoing import into catalog

this patch checks the "on loan" and "reserved" status before deleting item, and
do noting in this case, so the record can't be deleted due to existing item.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0b39f30a69da728586d9cb27ed6f50983e3336d9)
C4/ImportBatch.pm