From: miker Date: Fri, 30 May 2008 13:13:51 +0000 (+0000) Subject: adding frozen hold check to nearest_hold X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=374342f0233bc08aa1e67c04734f81b889bec5de;p=Evergreen.git adding frozen hold check to nearest_hold git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_2@9738 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 3a83aa40e2..0c70961017 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -218,6 +218,7 @@ sub nearest_hold { AND (AGE(NOW(),h.request_time) >= CAST(? AS INTERVAL) OR p.prox = 0) AND h.capture_time IS NULL AND h.cancel_time IS NULL + AND h.frozen IS FALSE ORDER BY p.prox, h.selection_depth DESC,