forgot to remove old order-by when crafting the trunk version of the fifo-holds patch...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jun 2010 17:56:58 +0000 (17:56 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jun 2010 17:56:58 +0000 (17:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16685 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 315a7bc..088b8a4 100644 (file)
@@ -301,10 +301,6 @@ sub nearest_hold {
                        AND (h.expire_time IS NULL OR h.expire_time > NOW())
             AND h.frozen IS FALSE
                ORDER BY $holdsort
-                       p.prox,
-            CASE WHEN h.cut_in_line IS TRUE THEN 0 ELSE 1 END,
-                       h.selection_depth DESC,
-                       h.request_time
                LIMIT $limit
        SQL