fix an sql typo
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Jan 2009 19:58:33 +0000 (19:58 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Jan 2009 19:58:33 +0000 (19:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11890 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/100.circ_matrix.sql

index 3be5d55..8263796 100644 (file)
@@ -342,7 +342,7 @@ BEGIN
                  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 @@ BEGIN
                        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;