LP#1847800 / LP#1847781: secondary admin pages for MARC Import Remove Fields
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 5 May 2020 19:16:37 +0000 (12:16 -0700)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 12 May 2020 15:26:35 +0000 (11:26 -0400)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/examples/fm_IDL.xml

index 9e91709..cf5ec01 100644 (file)
@@ -219,7 +219,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        <class id="vibtf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::import_bib_trash_fields" oils_persist:tablename="vandelay.import_bib_trash_fields" reporter:label="Import/Overlay Fields for Removal">
                <fields oils_persist:primary="id" oils_persist:sequence="vandelay.import_bib_trash_fields_id_seq">
                        <field reporter:label="Field ID" name="id" reporter:datatype="id"/>
-                       <field reporter:label="Group" name="grp" reporter:datatype="link"/>
+                       <field reporter:label="Group" name="grp" reporter:datatype="link" config_field="true"/>
                        <field reporter:label="Field" name="field" reporter:datatype="text"/>
                </fields>
                <links>
@@ -344,9 +344,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
                        <field reporter:label="Label" name="label" reporter:datatype="text"/>
                        <field reporter:label="Always Apply" name="always_apply" reporter:datatype="bool"/>
+                       <field reporter:label="Fields" name="import_bib_trash_fields" oils_persist:virtual="true" reporter:datatype="link" config_field="true"/>
                </fields>
                <links>
                        <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
+                       <link field="import_bib_trash_fields" reltype="has_many" key="grp" map="" class="vibtf"/>
                </links>
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>