]> git.evergreen-ils.org Git - Evergreen.git/commit
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 20:59:23 +0000 (20:59 +0000)
commita0ada5bf53c1bb3abe7dfcc11029d380f075d0ec
tree5cab27cc674dffc158683db561c741b1f2f972b1
parent2f47631078a92b306abbe5f0ff77767836c51c43
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