[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 8a550811b93d1c47bec5117c99d2b97dba20cf9e

Evergreen Git git at git.evergreen-ils.org
Tue Feb 23 22:58:25 EST 2016


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_8 has been updated
       via  8a550811b93d1c47bec5117c99d2b97dba20cf9e (commit)
      from  9ffd2264f56999da66dc2e527fd63b99975ad430 (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 8a550811b93d1c47bec5117c99d2b97dba20cf9e
Author: blake <blake at mobiusconsortium.org>
Date:   Wed Dec 23 14:20:40 2015 -0600

    LP#1466990: Detailed search results shows parts for items that dont have parts
    
    The part_label variable needs to be reset between iterations. The variable was still set
    and bled from copy to copy. Testing this will require a search with details turned on.
    The search result set needs to include a bib that has copies with parts (with at least
    one copy invisible) and another bib that has copies without parts.
    
    Signed-off-by: blake <blake at mobiusconsortium.org>
    Signed-off-by: Ben Shum <ben at evergreener.net>

diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2
index d1fb135..a07aac5 100644
--- a/Open-ILS/src/templates/opac/parts/misc_util.tt2
+++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2
@@ -488,6 +488,7 @@
                 copies = volume.findnodes('./*[local-name()="copies"]/*[local-name()="copy"]');
                 FOR copy IN copies;
                     parts = copy.findnodes('./*[local-name()="monograph_parts"]/*[local-name()="monograph_part"]');
+                    part_label = '';
                     FOREACH part IN parts;
                         part_label = part.getAttribute('label');
                         LAST IF part_label != '';

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list