[open-ils-commits] [GIT] Evergreen ILS branch master updated. 82b743d9dd404cd4d96912781cb2e543eee519af

Evergreen Git git at git.evergreen-ils.org
Thu Sep 18 16:37:59 EDT 2014


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  82b743d9dd404cd4d96912781cb2e543eee519af (commit)
      from  6ad1181a6e91695bcad3285dcb838d8b5ec395de (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 82b743d9dd404cd4d96912781cb2e543eee519af
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Tue Aug 12 17:33:16 2014 -0400

    LP1309131 - Fix series link
    
    Clicking on a series link with a hyphen failed because the hyphen was
    stripped and the two words are joined together. This branch changes
    series.tts to replace special characters with a space, which is similar to
    the links we build for authors.
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/series.tt2 b/Open-ILS/src/templates/opac/parts/record/series.tt2
index 9518232..0ddc378 100644
--- a/Open-ILS/src/templates/opac/parts/record/series.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/series.tt2
@@ -20,7 +20,7 @@ BLOCK render_series;
                 NEXT UNLESS code.match('[a-z]');
                 # at this point, we actually have a partial term to use.
                 single_term = subfield.textContent | html;
-                all_terms.push(subfield.textContent.replace('[#"^$\+\-,\.:;&|\[\]()]', ''));
+                all_terms.push(subfield.textContent.replace('[#"^$\+\-,\.:;&|\[\]()]', ' '));
                 total_term = all_terms.join(" ").replace('\s+$', '');
 
                 url = mkurl(ctx.opac_root _ '/results',

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list