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=76fe8fb114a4c1b0e27dc99bd466e58b40772681;p=evergreen%2Fjoelewis.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 759a929e95..0af62bb3b6 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: '),