[open-ils-commits] r12977 - trunk/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 23 13:04:24 EDT 2009


Author: miker
Date: 2009-04-23 13:04:21 -0400 (Thu, 23 Apr 2009)
New Revision: 12977

Modified:
   trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
cut-and-paste-o when adding the collections warning penalty calc

Modified: trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-04-23 16:50:44 UTC (rev 12976)
+++ trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-04-23 17:04:21 UTC (rev 12977)
@@ -598,7 +598,7 @@
                   FROM  actor.usr_standing_penalty
                   WHERE usr = match_user
                         AND org_unit = max_fines.org_unit
-                        AND standing_penalty = 1
+                        AND standing_penalty = 4
                 LOOP
             RETURN NEXT existing_sp_row;
         END LOOP;
@@ -621,7 +621,7 @@
         IF current_fines >= max_fines.threshold THEN
             new_sp_row.usr := match_user;
             new_sp_row.org_unit := max_fines.org_unit;
-            new_sp_row.standing_penalty := 1;
+            new_sp_row.standing_penalty := 4;
             RETURN NEXT new_sp_row;
         END IF;
     END IF;



More information about the open-ils-commits mailing list