Option to force-delete copies during volume delete
authorBill Erickson <berick@esilibrary.com>
Thu, 2 Jun 2011 18:44:28 +0000 (14:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 3 Jun 2011 14:54:06 +0000 (10:54 -0400)
commitcb381befd1a37b31e00d8ef9c328d89e00760510
tree6f44344d7b3ca9fe62eb1c29115ce789216b7702
parent7d1040a86595c50dadb235c5c014ae7a5e9294f4
Option to force-delete copies during volume delete

Added a "force_delete_copies" option to
open-ils.cat.asset.volume.fleshed.batch.update* which forces deletion of
all copies attached to a volume if the volume is being deleted.  There
are still scenarios that will result in copies not being deleted
(e.g. copy is checked out), in which case the override option will
behave here the same way it behaves in
open-ils.cat.asset.copy.fleshed.batch.update*

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm