From: miker Date: Fri, 11 Jun 2010 17:56:58 +0000 (+0000) Subject: forgot to remove old order-by when crafting the trunk version of the fifo-holds patch... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fec0a7fd4a1826cd1af8b57d4794419e8c8f2635;p=evergreen%2Fbjwebb.git forgot to remove old order-by when crafting the trunk version of the fifo-holds patch from James Fournie git-svn-id: svn://svn.open-ils.org/ILS/trunk@16685 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 315a7bc2d..088b8a475 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -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