LP1852782 Prevents data fields swapping to control fields
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / marc-edit / rich-editor.component.ts
index 6b79fe2..a1a7d55 100644 (file)
@@ -93,11 +93,11 @@ export class MarcRichEditorComponent implements OnInit {
     }
 
     controlFields(): MarcField[] {
-        return this.record.fields.filter(f => f.isControlfield());
+        return this.record.fields.filter(f => f.isCtrlField);
     }
 
     dataFields(): MarcField[] {
-        return this.record.fields.filter(f => !f.isControlfield());
+        return this.record.fields.filter(f => !f.isCtrlField);
     }
 }