[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 50bb90bf0d66dc86c1d7d56c967a05e688df5c55

Evergreen Git git at git.evergreen-ils.org
Tue Jul 24 10:23:52 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, rel_2_2 has been updated
       via  50bb90bf0d66dc86c1d7d56c967a05e688df5c55 (commit)
      from  a7b0ba822e2764a5d9454d95a0544f83e1d5e9ea (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 50bb90bf0d66dc86c1d7d56c967a05e688df5c55
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