]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC: Fine-grained credits in record details
authorDan Scott <dscott@laurentian.ca>
Wed, 5 Sep 2012 04:27:03 +0000 (00:27 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 28 Sep 2012 04:51:43 +0000 (00:51 -0400)
commit06ea5ec9b641bb550db2ef4bb41aed5c9b6a51d7
tree2e4eb1fe60699fb684646cbcab2aa5b55376a543
parent689266a57c133bd1e75d889299e0d918a379f163
TPAC: Fine-grained credits in record details

For 7xx fields with $4 subfields containing relator codes, generate a
relator code map from http://www.loc.gov/marc/relators/relacode.html
that we can use in the record details to provide specific credits,
rather than the generic (and often inappropriate) "Added author" label.

For example:

700 1. ‡aMaley, Desmond, ‡d1954- ‡4prf.

This now generates "Maley, Desmond, 1954- (Performer)" in the record
details credit section.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/relators.tt2 [new file with mode: 0644]
build/tools/relator_map [new file with mode: 0644]