[open-ils-commits] [GIT] Evergreen ILS branch master updated. 76fe8fb114a4c1b0e27dc99bd466e58b40772681

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, master has been updated
       via  76fe8fb114a4c1b0e27dc99bd466e58b40772681 (commit)
      from  8bf9d447c4f32cbf5bbf44d404ce17f1dd198066 (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 76fe8fb114a4c1b0e27dc99bd466e58b40772681
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