</div>
<div class="mt-3" [ngClass]="isDialog() ? 'col-md-12' : 'col-md-8'">
- <eg-grid #materialsGrid [dataSource]="materialsDataSource" [useLocalSort]="true">
+ <eg-grid #materialsGrid [dataSource]="materialsDataSource" [useLocalSort]="true" [disablePaging]="true">
<eg-grid-toolbar-action label="Remove Selected" i18n-label (onClick)="deleteSelectedMaterials($event)">
</eg-grid-toolbar-action>
<eg-grid-toolbar-action label="Edit Selected" i18n-label (onClick)="editSelectedMaterials($event)">
}
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]);
}
emitXml() {
- const record = new MarcRecord('<record xmlns="http://www.loc.gov/MARC21/slim"></record>');
+ const record = new MarcRecord('<record xmlns="http://www.loc.gov/MARC21/slim"><leader>00000 a</leader></record>');
// need to add the value to field.subfields[0][1]
this.fields.forEach((field) => {
field.subfields.forEach((subfield) => {