link asset.copy_template.status to config.copy_status in the IDL
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 30 Sep 2011 17:37:58 +0000 (13:37 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 4 Oct 2011 15:53:39 +0000 (11:53 -0400)
If nothing else, this provides a dropdown for status in the copy
template editor (the one for Serials, under the admin menus, not the
one on the copy editing interface).

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

Open-ILS/examples/fm_IDL.xml

index 54a352c..f205fd9 100644 (file)
@@ -5177,7 +5177,7 @@ SELECT  usr,
                        <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
                        <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="Status" name="status" reporter:datatype="link"/>
                        <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"/>
@@ -5200,6 +5200,7 @@ SELECT  usr,
                        <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="status" reltype="has_a" key="id" map="" class="ccs"/>
                        <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
                        <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
                </links>