[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. c5ea94f57246dc659eb205786cdf53bbccbffe3b

Evergreen Git git at git.evergreen-ils.org
Fri May 25 13:05:12 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_1 has been updated
       via  c5ea94f57246dc659eb205786cdf53bbccbffe3b (commit)
      from  0bf2b7396f47c877e2efcf749be34e8438899072 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c5ea94f57246dc659eb205786cdf53bbccbffe3b
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Fri May 18 09:12:37 2018 -0400

    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 <jboyer at library.in.gov>
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/authors.tt2 b/Open-ILS/src/templates/opac/parts/record/authors.tt2
index 759a929..0af62bb 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: '),

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/parts/record/authors.tt2    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list