[open-ils-commits] [GIT] Evergreen ILS branch rel_2_6 updated. 98665c3529ee6ee2bc2c35a85f966d5a159e8e58

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, rel_2_6 has been updated
       via  98665c3529ee6ee2bc2c35a85f966d5a159e8e58 (commit)
      from  79ec433b97cbe9239a9cb9948b77e9e05d3ea9d0 (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 98665c3529ee6ee2bc2c35a85f966d5a159e8e58
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