[open-ils-commits] r10746 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 1 20:56:45 EDT 2008


Author: miker
Date: 2008-10-01 20:56:44 -0400 (Wed, 01 Oct 2008)
New Revision: 10746

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
allowing per-org_unit reshelving complete setting

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2008-10-01 17:17:36 UTC (rev 10745)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2008-10-02 00:56:44 UTC (rev 10746)
@@ -142,7 +142,7 @@
                       WHERE circ.checkin_time IS NOT NULL
                             AND cp.status = 7
                       GROUP BY 1
-                      HAVING MAX(circ.checkin_time) < NOW() - CAST( COALESCE( BTRIM( setting.value,'"' ), ? )  AS INTERVAL)
+                      HAVING MAX(circ.checkin_time) < NOW() - CAST( COALESCE( BTRIM( FIRST(setting.value),'"' ), ? )  AS INTERVAL)
                     ) AS foo
                                 UNION ALL
             SELECT  cp.id



More information about the open-ils-commits mailing list