From: Galen Charlton Date: Mon, 29 Aug 2022 22:35:15 +0000 (+0000) Subject: LP#1570623: Exclude deleted copies from line item existing X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4b536f2c714e40ff55e4e44d3ad0a2bec00c5251;p=evergreen%2Fequinox.git 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 --- 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' + } } });