[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. a6e6d487a18850dd06fa080250262c4d17fc30fb
Evergreen Git
git at git.evergreen-ils.org
Mon Jan 22 10:40:50 EST 2018
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_0 has been updated
via a6e6d487a18850dd06fa080250262c4d17fc30fb (commit)
from 38315c23ad190a14d1203515a906d338cd41cd3e (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 a6e6d487a18850dd06fa080250262c4d17fc30fb
Author: Jason Boyer <JBoyer at library.in.gov>
Date: Sat Jan 20 13:25:16 2018 -0500
LP1744489: Location Search Limiter
search.calculate_visibility_attribute_test expects
an array for the second parameter and was getting
a plain integer (or too many parameters).
Signed-off-by: Jason Boyer <JBoyer at library.in.gov>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
index 6a1d872..4b45483 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
@@ -1534,7 +1534,7 @@ sub flatten {
my $negate = $filter->negate ? 'TRUE' : 'FALSE';
my $filter_args = join(",", map(int, @{$filter->args}));
push @{$vis_filter{'c_attr'}},
- "search.calculate_visibility_attribute_test('location',$filter_args,$negate)";
+ "search.calculate_visibility_attribute_test('location','{$filter_args}',$negate)";
}
} elsif ($filter->name eq 'location_groups') {
-----------------------------------------------------------------------
Summary of changes:
.../Application/Storage/Driver/Pg/QueryParser.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list