From: Thomas Berezansky Date: Fri, 18 Apr 2014 13:46:13 +0000 (-0400) Subject: Limit simiplified pull list to available copies X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Ftsbere%2Fahopl_limit_to_available;p=working%2FEvergreen.git Limit simiplified 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 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index adfcd2eb15..9587371445 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -5421,7 +5421,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) ]]>