adding some more stuff
authorJane Sandberg <sandbej@linnbenton.edu>
Sat, 10 Aug 2019 23:23:18 +0000 (16:23 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sat, 10 Aug 2019 23:23:18 +0000 (16:23 -0700)
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts

index f770892..619fe09 100644 (file)
@@ -2708,7 +2708,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field name="id" reporter:datatype="id" />
                        <field name="last_xact_id" />
                        <field name="marc" />
-                       <field name="source" />
+                       <field name="source" reporter:datatype="link"/>
                        <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
                        <field reporter:label="Owner" name="owner"  reporter:datatype="org_unit"/>
                        <field name="heading" />
@@ -2725,6 +2725,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <link field="notes" reltype="has_many" key="record" map="" class="arn"/>
                        <link field="bib_links" reltype="has_many" key="authority" map="" class="abl"/>
                        <link field="fixed_fields" reltype="might_have" key="record" map="" class="ard"/>
+                       <link field="source" reltype="has_a" key="id" map="" class="cbs"/>
                </links>
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
index 4acc65c..08a57ff 100644 (file)
@@ -16,7 +16,10 @@ export class ManageAuthoritiesComponent {
         this.gridSource = new GridDataSource();
 
         this.gridSource.getRows = (pager: Pager) => {
-            return this.pcrud.search('are', {id: {'>': 0}}
+            return this.pcrud.search('are',
+                {id: {'>': 0}},
+                {flesh: 1,
+                flesh_fields: {are: ['ash', 'cbs']}}
             );
         };
     }