LP1772017: Correctly Extract Cast from Records user/gcollum/lp1772017_cast_display-signoff
authorJason Boyer <jboyer@library.in.gov>
Fri, 18 May 2018 13:12:37 +0000 (09:12 -0400)
committerGarry Collum <gcollum@gmail.com>
Mon, 21 May 2018 19:18:25 +0000 (15:18 -0400)
authors.tt2 has been using field 508 for cast display but
the correct field is 511 when ind1=1.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates/opac/parts/record/authors.tt2

index 759a929..0af62bb 100644 (file)
@@ -15,7 +15,7 @@ authors = [
     }, {
         type => 'cast', 
         label => l('Cast'),
-        xpath => '//*[@tag="508"]'
+        xpath => '//*[@tag="511"][@ind1="1"]'
     }, {
         type => 'notes', 
         label => l('Author Notes: '),