From af0e04b4af70f23b98b387215f86801918b3cce8 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. Signed-off-by: Jason Boyer Signed-off-by: Garry Collum --- 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.11.0