LP#1465830: authority linker now ignores $e and $4 in bib name headings
authorYamil Suarez <yamil@yamil.com>
Fri, 19 Jun 2015 14:50:45 +0000 (10:50 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 19 Jun 2015 21:02:49 +0000 (21:02 +0000)
commitf626ee32d2183fdd47164953c2f150d3e313fa4c
treeafc51fcd7a97b58b1aae1eb98fbc05bfd0d904c2
parentdede50c572e16fd623db896062b46983e96efd9c
LP#1465830: authority linker now ignores $e and $4 in bib name headings

presence of relator terms or codes in $e or $4 can prevent authority
headings linking

To test
-------
[1] Create an authority record with a name heading like this

    100 $a Example, Natalia $d 1945-

[2] Create a bib record that contains the name and a relator
    code or term, e.g.,

    100 $a Example, Natalia $d 1945- $4edt

[3] Run authority_control_fields.pl. Note that the
    heading in the bib is *NOT* linked, as evidence
    by no $0 being added to the bib heading and no
    rows added to authority.bib_linking for that bib
    and authority.

[4] Apply the patch and re-run step 3.  This time,
    the link gets established:

    100 $a Example, Natalia $d 1945- $4 edt $0 (CONS)xxx

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/support-scripts/authority_control_fields.pl.in