From 73bbb9a5c78445f4abec8020277ffee41261779d Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 1 Sep 2020 15:45:12 -0700 Subject: [PATCH] more fixes --- .../local/course-reserves/course-associate-material.component.html | 2 +- .../share/marc-edit/simplified-editor/simplified-editor.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html index 2b3cdfa9df..3c79f79032 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html @@ -218,7 +218,7 @@
- + diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/simplified-editor/simplified-editor.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/simplified-editor/simplified-editor.component.ts index 15db235eaf..d723156828 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/simplified-editor/simplified-editor.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/simplified-editor/simplified-editor.component.ts @@ -87,7 +87,7 @@ export class MarcSimplifiedEditorComponent implements AfterViewInit, OnInit { } ngAfterViewInit() { - this.tagTable.loadTags({marcRecordType: 'biblio', ffType: 'BKS'}).then(table => { + this.tagTable.loadTags({marcRecordType: 'biblio', ffType: DEFAULT_RECORD_TYPE}).then(table => { this.fields.forEach((field) => { field.subfields.forEach((subfield) => { this.subfieldLabels[this.editorFieldIdentifier(field, subfield)] = table.getSubfieldLabel(field.tag, subfield[0]); @@ -97,7 +97,7 @@ export class MarcSimplifiedEditorComponent implements AfterViewInit, OnInit { } emitXml() { - const record = new MarcRecord(''); + const record = new MarcRecord('00000 a'); // need to add the value to field.subfields[0][1] this.fields.forEach((field) => { field.subfields.forEach((subfield) => { -- 2.11.0