TPAC: Specific credits in record details based on relator codes

Bug #1046149 reported by Dan Scott
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.3
Fix Released
Low
Unassigned
2.4
Fix Released
Low
Unassigned

Bug Description

MARC 1xx/7xx fields offer a way to provide specific credit for a work, based on the $4 subfield relator codes defined in http://www.loc.gov/marc/relators/relacode.html

Currently, however, we simply throw "Added author" in as the label for a contributor, even if a $4 subfield is included.

Therefore, we can and should generate a relator map from the LoC documentation and use that to provide specific credit where credit is due.

See working/user/dbs/tpac_granular_credits for a branch that includes the script (build/tools/relator_map), the generated opac/parts/relators.tt2 file, and the modified opac/parts/record/authors.tt2 file to make use of the new relator map.

Tags: pullrequest
Revision history for this message
Ben Shum (bshum) wrote :

One little thing, I wasn't sure about whether we ought to make the relator_map script executable or not. I had to change that before I could run the script through.

Otherwise, neat change! Should we target this as a bug fix for versions using Tpac (2.2/2.3?) or aim as new feature (2.4). My feeling is that this is a bug by not presenting the information correctly.

Sign-off: user/bshum/tpac_granular_credits

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/bshum/tpac_granular_credits

Changed in evergreen:
status: New → Triaged
Revision history for this message
Ben Shum (bshum) wrote :

Based on Dan's comment in IRC, I added a quick commit to my branch to change the relator_map script to be executable.

Same place as before: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/bshum/tpac_granular_credits

Revision history for this message
Dan Scott (denials) wrote :

Note that a more robust approach would probably be to base the generated relator codes off of those available from http://id.loc.gov/ (which include formats like TSV that would be much less susceptible to change than the HTML page). Just a note for the future, mind you.

Revision history for this message
Dan Scott (denials) wrote :

Well, missed 2.3.0 but I've committed it for 2.3.1 and master. Thanks for the testing and sign-off, Ben!

Changed in evergreen:
status: Triaged → Fix Committed
Ben Shum (bshum)
Changed in evergreen:
importance: Wishlist → Low
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.