LP#1234927 Reporter needs Item -> Combined Aged and Active Circulations link
[working/Evergreen.git] / Open-ILS / examples / fm_IDL.xml
index a0c3e8b..870497c 100644 (file)
@@ -6506,6 +6506,8 @@ SELECT  usr,
                        <field reporter:label="Copy Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field reporter:label="Stat-Cat entry maps" name="stat_cat_entry_copy_maps" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
+                       <field reporter:label="Aged (patronless) Circulations" name="aged_circulation" oils_persist:virtual="true" reporter:datatype="link"/>
+                       <field reporter:label="Combined Aged and Active Circulations" name="all_circulation" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field reporter:label="Total Circulations" name="total_circ_count" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field reporter:label="Last Circulation Date" name="last_circ" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field reporter:label="Holds" name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
@@ -6528,6 +6530,8 @@ SELECT  usr,
                        <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
                        <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
                        <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
+                       <link field="aged_circulation" reltype="has_many" key="target_copy" map="" class="acirc"/>
+                       <link field="all_circulation" reltype="has_many" key="target_copy" map="" class="combcirc"/>
                        <link field="total_circ_count" reltype="might_have" key="id" map="" class="erfcc"/>
                        <link field="last_circ" reltype="might_have" key="id" map="" class="rlc"/>
                        <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>