Z39.50 Batch Search/Overlay minor IDL repairs
authorBill Erickson <berick@esilibrary.com>
Mon, 25 Feb 2013 15:36:54 +0000 (10:36 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 7 Jun 2013 18:52:25 +0000 (14:52 -0400)
Added some missing reporter:selector attributes and repaired an invalid
link class.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/fm_IDL.xml

index 837e5e6..ec6525e 100644 (file)
@@ -947,7 +947,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
     <class id="cza" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::z3950_attr" oils_persist:tablename="config.z3950_attr" reporter:label="Z39.50 Attribute">
         <fields oils_persist:primary="id" oils_persist:sequence="config.z3950_attr_id_seq">
-            <field reporter:label="Z39.50 Attribute ID" name="id" reporter:datatype="id"/>
+            <field reporter:label="Z39.50 Attribute ID" name="id" reporter:datatype="id" reporter:selector="label"/>
             <field reporter:label="Z39.50 Source" name="source" reporter:datatype="link"/>
             <field reporter:label="Name" name="name" reporter:datatype="text"/>
             <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
@@ -982,7 +982,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
         </fields>
         <links>
             <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
-            <link field="record_attr" reltype="has_a" key="id" map="" class="crad"/>
+            <link field="record_attr" reltype="has_a" key="name" map="" class="crad"/>
             <link field="z3950_attr" reltype="has_a" key="id" map="" class="cza"/>
         </links>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
@@ -2398,7 +2398,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        <class id="cmf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_field" oils_persist:tablename="config.metabib_field" reporter:label="Metabib Field" oils_persist:field_safe="true">
                <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_id_seq">
                        <field reporter:label="Class" name="field_class" reporter:datatype="link"/>
-                       <field reporter:label="ID" name="id" reporter:datatype="id" />
+                       <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="label"/>
                        <field reporter:label="Name" name="name" reporter:datatype="text"/>
                        <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
                        <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>