From 68d7daae5abc05400e4b207d9c88a39bc79ffd6f Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Sat, 10 Aug 2019 21:18:38 -0700 Subject: [PATCH] more idl fun --- Open-ILS/examples/fm_IDL.xml | 2 +- .../app/staff/cat/authorities/manage.component.html | 20 ++++++++++---------- .../app/staff/cat/authorities/manage.component.ts | 17 ++++++++++++----- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index e6cc283df8..1cbe4fe4fa 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -2726,7 +2726,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.html b/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.html index 9bd448ca9e..bbba1cea46 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.html @@ -1,14 +1,14 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts index 443b78dc88..5584a1e361 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/authorities/manage.component.ts @@ -16,11 +16,18 @@ export class ManageAuthoritiesComponent { this.gridSource = new GridDataSource(); this.gridSource.getRows = (pager: Pager) => { - return this.pcrud.search('are', - {deleted: 'false'}, - {flesh: 1, - flesh_fields: {are: ['creator', 'editor', 'owner', 'simple_heading_record']}} - ); + return this.pcrud.search('ash', { + 'record': { 'in': { + 'from': 'are', 'select': {'are': ['id']}, 'where': {'deleted': 'false'}}}, + 'atag': { 'in': { + 'from': 'ascaf', 'select': {'ascaf': ['id']}, 'where': {'main_entry': 'true'}}}, + }, + {flesh: 2, + flesh_fields: { + are: ['creator', 'editor', 'owner'], + ash: ['record'] + } + }); }; } -- 2.11.0