LP1834665 Flat text editor uses '$' delimiter
authorBill Erickson <berickxx@gmail.com>
Wed, 10 Jul 2019 15:51:53 +0000 (11:51 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 10 Jul 2019 15:51:58 +0000 (11:51 -0400)
Consistent with the AngJS flat text MARC editor, use '$' as the subfield
delimiter instead of the default '‡'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/marcrecord.ts

index 1b0c488..0c7b70b 100644 (file)
@@ -12,7 +12,7 @@ export class MarcRecord {
     breakerText: string;
 
     constructor(xml: string) {
-        this.record = new MARC21.Record({marcxml: xml});
+        this.record = new MARC21.Record({marcxml: xml, delimiter: '$'});
         this.breakerText = this.record.toBreaker();
     }