adding frozen hold check to nearest_hold
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 30 May 2008 13:12:51 +0000 (13:12 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 30 May 2008 13:12:51 +0000 (13:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9736 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index cb6b06a..7af6127 100644 (file)
@@ -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,