]> 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>
Sat, 11 Aug 2012 11:29:24 +0000 (07:29 -0400)
commit8251bdd6731bf6548b8367b03977e07e892bfb86
tree4849a6fa1e44a0f1229401054ed06f65278f30f8
parent6c9b1f8bd816d39a71deb6302b24da0aaaaf37fd
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)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/ImportBatch.pm