[open-ils-commits] r11253 - branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Nov 18 10:29:31 EST 2008
Author: miker
Date: 2008-11-18 10:29:30 -0500 (Tue, 18 Nov 2008)
New Revision: 11253
Modified:
branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
another minor sql thinko
Modified: branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-11-18 15:26:11 UTC (rev 11252)
+++ branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-11-18 15:29:30 UTC (rev 11253)
@@ -191,7 +191,7 @@
LEFT JOIN $setting setting
ON (circ.circ_lib = setting.org_unit AND setting.name = 'circ.long_overdue.interval')
WHERE circ.checkin_time IS NULL AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','LONGOVERDUE'))
- AND AGE(circ.due_date) > CAST( COALESCE( BTRIM( FIRST(setting.value),'"' ), ? ) AS INTERVAL)
+ AND AGE(circ.due_date) > CAST( COALESCE( BTRIM( setting.value,'"' ), ? ) AS INTERVAL)
)
SQL
More information about the open-ils-commits
mailing list