[open-ils-commits] r17102 - trunk/Open-ILS/examples (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 5 12:27:53 EDT 2010


Author: erickson
Date: 2010-08-05 12:27:49 -0400 (Thu, 05 Aug 2010)
New Revision: 17102

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
repaired primary key column; removed trailing semi's from SQL

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2010-08-05 16:02:05 UTC (rev 17101)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2010-08-05 16:27:49 UTC (rev 17102)
@@ -2483,9 +2483,9 @@
         SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN id ELSE 0 END) AS long_overdue
   FROM  action.circulation
   WHERE checkin_time IS NULL
-  GROUP BY 1;
+  GROUP BY 1
         </oils_persist:source_definition>
-        <fields oils_persist:primary="id">
+        <fields oils_persist:primary="usr">
             <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
             <field reporter:label="Out" name="out" reporter:datatype="text"/>
             <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>
@@ -2525,9 +2525,9 @@
         ARRAY_TO_STRING(ARRAY_ACCUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN id ELSE 0 END),',') AS long_overdue
   FROM  action.circulation
   WHERE checkin_time IS NULL
-  GROUP BY 1;
+  GROUP BY 1
         </oils_persist:source_definition>
-        <fields oils_persist:primary="id">
+        <fields oils_persist:primary="usr">
             <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
             <field reporter:label="Out" name="out" reporter:datatype="text"/>
             <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>



More information about the open-ils-commits mailing list