From 4b536f2c714e40ff55e4e44d3ad0a2bec00c5251 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 29 Aug 2022 22:35:15 +0000 Subject: [PATCH] LP#1570623: Exclude deleted copies from line item existing This is a rebase of a patch originally written by Tiffany Little Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Common.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Common.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Common.pm index f77deb573c..6700ccc574 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Common.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Common.pm @@ -69,7 +69,10 @@ sub li_existing_copies { owning_lib => $U->get_org_descendants($org) }, # NOTE: should the excluded copy statuses be an AOUS? - '+acp' => {status => {'not in' => [3, 4, 13, 17]}} + '+acp' => { + status => {'not in' => [3, 4, 13, 17]}, + deleted => 'f' + } } }); -- 2.11.0