From: Thomas Berezansky Date: Fri, 18 Apr 2014 13:46:13 +0000 (-0400) Subject: LP#1277551: Limit simplified pull list to available copies X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ce45d4cf4466af277b3a681fb0964c430288694b;p=evergreen%2Fpines.git LP#1277551: Limit simplified pull list to available copies Copies that are targeted by a hold but are not in available or reshelving statuses should not show up on a pull list. Signed-off-by: Thomas Berezansky Signed-off-by: Michele Morgan Signed-off-by: Ben Shum --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 2f9fc7f51d..63987ef8ad 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -5423,7 +5423,8 @@ SELECT usr, ahr.capture_time IS NULL AND ahr.cancel_time IS NULL AND csp.id IS NULL AND - (ahr.expire_time is NULL OR ahr.expire_time > NOW()) + (ahr.expire_time is NULL OR ahr.expire_time > NOW()) AND + acp.status IN (0,7) ]]>