making per-circ_mod count consistent with baseline count of circs
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 17 Dec 2008 13:56:31 +0000 (13:56 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 17 Dec 2008 13:56:31 +0000 (13:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@11592 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/090.schema.action.sql

index 555e747..0a68b5f 100644 (file)
@@ -132,7 +132,7 @@ CREATE OR REPLACE VIEW action.open_circ_count_by_circ_mod AS
       FROM  action.circulation circ
             JOIN asset.copy cp ON (circ.target_copy = cp.id)
       WHERE circ.checkin_time IS NULL
-            AND ( circ.stop_fines IN ('LOST','LONGOVERDUE','CLAIMSRETURNED') OR circ.stop_fines IS NULL )
+            AND ( circ.stop_fines IN ('MAXFINES','LONGOVERDUE') OR circ.stop_fines IS NULL )
       GROUP BY 1,2;
 
 CREATE OR REPLACE VIEW action.open_circulation AS