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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 29 12:38:35 EDT 2009


Author: erickson
Date: 2009-09-29 12:38:32 -0400 (Tue, 29 Sep 2009)
New Revision: 14207

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
added permacrud retrieve action to the new circs_by_year virtual view

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2009-09-29 16:18:51 UTC (rev 14206)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2009-09-29 16:38:32 UTC (rev 14207)
@@ -5140,7 +5140,7 @@
 		</links>
 	</class>
 
-    <class id="circbyyr" controller="open-ils.cstore" oils_obj:fieldmapper="action::circ_counts_by_year" oils_persist:readonly="true">
+    <class id="circbyyr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::circ_counts_by_year" oils_persist:readonly="true">
 		<oils_persist:source_definition>
 
 	SELECT id, SUM(count) AS count, year, is_renewal FROM (
@@ -5183,6 +5183,11 @@
 		<links>
 			<link field="id" reltype="has_a" key="id" map="" class="acp"/>
 		</links>
+		<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+			<actions>
+				<retrieve/>
+			</actions>
+		</permacrud>
     </class>
 
 	<class id="rodcirc" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::overdue_circs" oils_persist:tablename="reporter.overdue_circs" reporter:core="true" reporter:label="Overdue Circulation">



More information about the open-ils-commits mailing list