From 76fe8fb114a4c1b0e27dc99bd466e58b40772681 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 18 May 2018 09:12:37 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/record/authors.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: '), -- 2.43.2