thinko in the view
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Mar 2008 21:39:34 +0000 (21:39 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Mar 2008 21:39:34 +0000 (21:39 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@8908 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 7209067..0181700 100644 (file)
@@ -116,8 +116,7 @@ CREATE OR REPLACE VIEW action.open_circ_count_by_circ_mod AS
             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 )
-      GROUP BY 1;
-
+      GROUP BY 1,2;
 
 CREATE OR REPLACE VIEW action.open_circulation AS
        SELECT  *