]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Option to force-delete copies during volume delete
authorBill Erickson <berick@esilibrary.com>
Thu, 2 Jun 2011 18:44:28 +0000 (14:44 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 24 Jun 2011 15:15:11 +0000 (11:15 -0400)
commit95206809441fee6bc01d166539a4c42e0ea2f40b
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>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm