[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. b5c1603f9b0d5dd79beb376fc77a5e69cd515c24

Evergreen Git git at git.evergreen-ils.org
Fri Sep 30 09:28:01 EDT 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_11 has been updated
       via  b5c1603f9b0d5dd79beb376fc77a5e69cd515c24 (commit)
      from  e274d4b8092c7500bb01ef9a2a2ffc9e797fc066 (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 b5c1603f9b0d5dd79beb376fc77a5e69cd515c24
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Thu Sep 29 13:50:40 2016 -0400

    LP#1623955: Keep periods in subject links
    
    The subject links in the record summary were stripping periods, changing
    headings that contained N.Y., for example, to NY in the subsequent search
    string. Since normalization at index time replaces the period with a space,
    clicking the subject links did not successfully retrieve all relevant
    results.
    
    Test plan:
    Click the Subject link for a record that has New York (N.Y.) in its heading and
    has no other instances of ny in the keyword index. This record will not be
    retrieved when you click the link. After loading the patch, the record will be
    successfully retrieved, along with other records that contain New York (N.Y.) in
    their subject headings.
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/templates/opac/parts/record/subjects.tt2 b/Open-ILS/src/templates/opac/parts/record/subjects.tt2
index 6b99b13..b0702a4 100644
--- a/Open-ILS/src/templates/opac/parts/record/subjects.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/subjects.tt2
@@ -55,7 +55,7 @@
                 single_term = raw_term | html;
 
                 # facets should be used as-is
-                IF !s.facet; raw_term = raw_term.replace('\-', ' ').replace('[#"^$\+,\.:;&|\[\]()]', ''); END;
+                IF !s.facet; raw_term = raw_term.replace('\-', ' ').replace('[#"^$\+,:;&|\[\]()]', ''); END;
 
                 all_terms.push(raw_term);
 

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list