Some more
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 11 Aug 2019 00:16:56 +0000 (17:16 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 11 Aug 2019 00:16:56 +0000 (17:16 -0700)
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.html
Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts

index 619fe09..d2f4473 100644 (file)
@@ -2713,6 +2713,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="Owner" name="owner"  reporter:datatype="org_unit"/>
                        <field name="heading" />
                        <field name="simple_heading" />
+                       <field name="simple_heading_record" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field name="fixed_fields" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
                        <field name="bib_links" oils_persist:virtual="true" reporter:datatype="link"/>
@@ -2724,7 +2725,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <link field="creator" reltype="has_a" key="id" map="" class="au"/>
                        <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="fixed_fields" reltype="might_have" key="record" map="" class="ash"/>
+                       <link field="simple_heading_record" 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">
index 9c72f40..98dee2d 100644 (file)
@@ -1,6 +1,5 @@
 <eg-grid #grid [dataSource]="gridSource"
-  persistKey="cat.authorities.manage"
-  idlClass="are">
+  persistKey="cat.authorities.manage">
   <eg-grid-column path="id" label="ID" i18n-label [index]="true" [hidden]="true"></eg-grid-column>
   <eg-grid-column path="create_date" label="Date created" i18n-label [hidden]="true"></eg-grid-column>
   <eg-grid-column path="edit_date" label="Date last edited" i18n-label [hidden]="true"></eg-grid-column>
index 0ecfec6..f7e27a8 100644 (file)
@@ -17,7 +17,7 @@ export class ManageAuthoritiesComponent {
 
         this.gridSource.getRows = (pager: Pager) => {
             return this.pcrud.search('are',
-                {deleted: false},
+                {deleted: 'false'},
                 {flesh: 1,
                 flesh_fields: {are: ['ash', 'cbs']}}
             );