[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. 84c5a4ecf588990a448f88ed47330c88b98580e6

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, rel_3_4 has been updated
       via  84c5a4ecf588990a448f88ed47330c88b98580e6 (commit)
      from  210adb585bfa4ca6715bdbecd0ec659f20079d79 (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 84c5a4ecf588990a448f88ed47330c88b98580e6
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