Comment 1 for bug 1361804

Revision history for this message
Galen Charlton (gmc) wrote :

Also affects Evergreen master.

applyAuthority() in marcedit.js arguably is trying to be a little too fancy, particularly when applying a full heading. It tries to merge the subfields of the heading in the bib record and the heading coming from the authority record, but doesn't handle repeating subdivision subfields well.

Ideas for better behavior:

- If the existing bib heading and the authority heading are identical with the exception of the $0, just add/update the $0 and indicator values

- If the existing bib heading and authority heading do *not* match, simply completely replace the entire bib heading with the authority heading.

However, that second behavior would have the undesirable effect of removing any relator terms/codes that the cataloger may have entered, so special handling of the $4 and $e might be nice.