[open-ils-commits] r18852 - in trunk/Open-ILS: examples web/templates/default/conify/global/asset (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 29 11:44:07 EST 2010


Author: senator
Date: 2010-11-29 11:44:04 -0500 (Mon, 29 Nov 2010)
New Revision: 18852

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
   trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
Log:
Serials: make some IDL changes and some changes to field order in an AutoGrid
to support easier creation of working copy templates with serials.


Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2010-11-29 16:25:38 UTC (rev 18851)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2010-11-29 16:44:04 UTC (rev 18852)
@@ -4520,7 +4520,7 @@
 			<field reporter:label="Name" name="name" reporter:datatype="text"/>
 			<field reporter:label="Circ Lib" name="circ_lib" reporter:datatype="link"/>
 			<field reporter:label="Status" name="status" reporter:datatype="int"/>
-			<field reporter:label="Location" name="location" reporter:datatype="int"/>
+			<field reporter:label="Location" name="location" reporter:datatype="link"/>
 			<field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
 			<field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
 			<field reporter:label="Age Protect" name="age_protect" reporter:datatype="int"/>
@@ -4530,7 +4530,7 @@
 			<field reporter:label="Holdable?" name="holdable" reporter:datatype="bool"/>
 			<field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
 			<field reporter:label="Price" name="price" reporter:datatype="money"/>
-			<field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="text"/>
+			<field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="link"/>
 			<field reporter:label="Circ As Type" name="circ_as_type" reporter:datatype="text"/>
 			<field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
 			<field reporter:label="OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
@@ -4542,6 +4542,8 @@
 			<link field="creator" reltype="has_a" key="id" map="" class="au"/>
 			<link field="editor" reltype="has_a" key="id" map="" class="au"/>
 			<link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
+			<link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
+			<link field="location" reltype="has_a" key="id" map="" class="acpl"/>
 		</links>
 		<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
 			<actions>

Modified: trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2	2010-11-29 16:25:38 UTC (rev 18851)
+++ trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2	2010-11-29 16:44:04 UTC (rev 18852)
@@ -22,7 +22,7 @@
     </div>
     <table jsId="actGrid"
         dojoType="openils.widget.AutoGrid"
-        fieldOrder="['name', 'owning_lib']"
+        fieldOrder="['name','owning_lib','circulate','holdable','opac_visible','loan_duration','fine_level','location','circ_modifier','circ_lib','floating','deposit','ref','mint_condition']"
         suppressFields="['creator','editor','edit_date','create_date']"
         suppressEditFields="['creator','editor','edit_date','create_date']"
         query="{id: '*'}"



More information about the open-ils-commits mailing list