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, 24 Jun 2011 14:12:28 +0000 (10:12 -0400)
commit7b9c2a03bab1e21ffdacab1607ed3ac58283e361
treeee19a304bda38e3eda42eff60fb3582e287d197b
parent064372f160214538c92fe0bb67ee119369521d21
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