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

Evergreen Git git at git.evergreen-ils.org
Fri Jul 24 16:40:32 EDT 2020


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  c14af88a7f30e786558fc3c46c5e772a46b47ec1 (commit)
      from  0a790be12be37bc3aac1582e295fe41e24b9e900 (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 c14af88a7f30e786558fc3c46c5e772a46b47ec1
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Tue Jun 18 13:48:44 2019 -0700

    LP#1833300: wrap SRU query in parentheses before appending site param
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Mike Risher <mrisher at catalyte.io>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
index 2ba1f381a4..2728f36460 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
@@ -1985,7 +1985,7 @@ sub sru_search {
 
         # Ensure the search string overrides the default site
         if ($shortname and $search_string !~ m#site:#) {
-            $search_string .= " site:$shortname";
+            $search_string = "($search_string) site:$shortname";
         }
 
         my $offset = $req->startRecord;

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

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list