[open-ils-commits] [GIT] Evergreen ILS branch master updated. 37953470cdd9b9a7441722275aeead3c232d1466

Evergreen Git git at git.evergreen-ils.org
Tue Jul 24 10:23:20 EDT 2012


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  37953470cdd9b9a7441722275aeead3c232d1466 (commit)
      from  aff37795825b477a9b82560fe16ea4685202d201 (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 37953470cdd9b9a7441722275aeead3c232d1466
Author: Ben Shum <bshum at biblio.org>
Date:   Mon Jul 23 16:59:33 2012 -0400

    TPAC - repair editions statement display
    
    Change && back to || and repair editions display in TPAC.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2
index fe4d97f..d7e93d0 100644
--- a/Open-ILS/src/templates/opac/parts/misc_util.tt2
+++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2
@@ -66,8 +66,8 @@
         args.summary = (args.summary.size) ? args.summary.0 : '';
 
         args.editions = [];
-        ed_hunt = xml.findnodes('//*[@tag="250"]/*[@code="a"]') &&
-            xml.findnodes('//*[@tag="534"]/*[@code="b"]') &&
+        ed_hunt = xml.findnodes('//*[@tag="250"]/*[@code="a"]') ||
+            xml.findnodes('//*[@tag="534"]/*[@code="b"]') ||
             xml.findnodes('//*[@tag="775"]/*[@code="b"]');
         FOR sub IN ed_hunt;
             args.editions.push(sub.textContent);

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

Summary of changes:
 Open-ILS/src/templates/opac/parts/misc_util.tt2 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list