MARC editor now correctly extracts MARC field data from the new
underlying MARC record when it is changed as a result of a breaker text
change and re-absorb.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
absorbBreakerChanges() {
this.record = new MARC21.Record(
{marcbreaker: this.breakerText, delimiter: DELIMITER});
+ // Replacing the underlying record means regenerating the field metadata
+ this.stampFieldIds();
}
extractFixedField(fieldCode: string): string {