From: Jason Boyer Date: Fri, 18 May 2018 13:12:37 +0000 (-0400) Subject: LP1772017: Correctly Extract Cast from Records X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1061e8db2e52be57e27dd30c1e3a2f07722775d2;p=working%2FEvergreen.git LP1772017: Correctly Extract Cast from Records authors.tt2 has been using field 508 for cast display but the correct field is 511 when ind1=1. Testing note: In the Concerto data set, the title "The rum diary" is a good test record, as it has both a 508 field and a 511. Signed-off-by: Jason Boyer Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/opac/parts/record/authors.tt2 b/Open-ILS/src/templates/opac/parts/record/authors.tt2 index 3f0dd2fdb9..5a368a2e94 100644 --- a/Open-ILS/src/templates/opac/parts/record/authors.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/authors.tt2 @@ -15,7 +15,7 @@ authors = [ }, { type => 'cast', label => l('Cast'), - xpath => '//*[@tag="508"]' + xpath => '//*[@tag="511"][@ind1="1"]' }, { type => 'notes', label => l('Author Notes: '),