[open-ils-commits] [GIT] Evergreen ILS branch master updated. 797161f4511da49a3104c7d4ebafc9b5ae1a11df

Evergreen Git git at git.evergreen-ils.org
Sat Mar 4 18:21:17 EST 2017


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  797161f4511da49a3104c7d4ebafc9b5ae1a11df (commit)
      from  7631172de7f0fc9658d77dff82447fe175741c74 (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 797161f4511da49a3104c7d4ebafc9b5ae1a11df
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Thu Mar 2 16:55:15 2017 -0500

    LP#1669522: Remove regex that caused duplication in author query
    
    In LP#1308090, a regex replacement was added to the normzalize_qterm block
    that didn't work as intended. Instead of replacing the already-normalized qterm,
    it added a new string to the qterm, causing the author and date terms to
    duplicate in the resulting query when the link is clicked. Since the the
    problem the regex was trying to solve appears to be an aesthetic one rather
    than a functional one, this commit removes that regex.
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Ben Shum <ben at evergreener.net>

diff --git a/Open-ILS/src/templates/opac/parts/record/authors.tt2 b/Open-ILS/src/templates/opac/parts/record/authors.tt2
index 2208cf0..3f0dd2f 100644
--- a/Open-ILS/src/templates/opac/parts/record/authors.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/authors.tt2
@@ -25,7 +25,6 @@ authors = [
 
 BLOCK normalize_qterm;
     subfield.textContent.replace('[#"^$\+\-,\.:;&|\[\]()]', ' ');
-    subfield.textContent.replace('\s{2,}', ' ');
 END;
 
 BLOCK normalize_authors;

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list