[open-ils-commits] r11890 - branches/rel_1_4/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jan 20 14:58:37 EST 2009


Author: miker
Date: 2009-01-20 14:58:33 -0500 (Tue, 20 Jan 2009)
New Revision: 11890

Modified:
   branches/rel_1_4/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
fix an sql typo

Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-01-20 19:58:10 UTC (rev 11889)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-01-20 19:58:33 UTC (rev 11890)
@@ -342,7 +342,7 @@
 		  WHERE circ.usr = match_user
                 	AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
 			AND circ.checkin_time IS NULL
-            AND (circ.stop_fines IN ('MAXFINES','LONGOVERDUE') OR circ.stop_fines IS NULL)
+			AND (circ.stop_fines IN ('MAXFINES','LONGOVERDUE') OR circ.stop_fines IS NULL)
 			AND cp.circ_modifier = out_by_circ_mod.circ_mod;
 		IF items_out >= out_by_circ_mod.items_out THEN
 			result.fail_part := 'config.circ_matrix_circ_mod_test';
@@ -360,7 +360,7 @@
                 	AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
 			AND checkin_time IS NULL
 			AND due_date < NOW()
-            AND (circ.stop_fines IN ('MAXFINES','LONGOVERDUE') OR circ.stop_fines IS NULL);
+			AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL);
 		IF items_overdue >= circ_test.max_overdue THEN
 			result.fail_part := 'config.circ_matrix_test.max_overdue';
 			result.success := FALSE;



More information about the open-ils-commits mailing list