[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. d920660f94700d2c06d3296182b2e81fba81f334
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_5 has been updated
via d920660f94700d2c06d3296182b2e81fba81f334 (commit)
from eca9e6e08e4461e805035ad767f63f41f49aadba (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 d920660f94700d2c06d3296182b2e81fba81f334
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