]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 20 Jun 2012 08:59:35 +0000 (20:59 +1200)
commit0b39f30a69da728586d9cb27ed6f50983e3336d9
tree9e9d19d0bca6e5aeb0af1a2c968674e16cd2ed31
parentc151893113a0c2e12e4b7db2adcea45fde625b21
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>
C4/ImportBatch.pm