From c5019e4ef98378a2f63b770959c7ca29c233825f Mon Sep 17 00:00:00 2001 From: Steven Callender Date: Thu, 4 Oct 2012 09:17:29 -0400 Subject: [PATCH] Exclude copies that have been deleted from showing up on the browse holds shelf list. If an item had been deleted while it had a status of On Holds Shelf, it would permanently show up on the browse holds list. This will exclude deleted copies from the results. Signed-off-by: Steven Callender Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 393c0e1058..39a81b30e3 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -2038,7 +2038,7 @@ sub fetch_captured_holds { } }, where => { - '+acp' => { status => OILS_COPY_STATUS_ON_HOLDS_SHELF }, + '+acp' => { status => OILS_COPY_STATUS_ON_HOLDS_SHELF, deleted => 'f' }, '+alhr' => { capture_time => { "!=" => undef }, current_copy => $current_copy, -- 2.11.0