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

Evergreen Git git at git.evergreen-ils.org
Mon Jan 22 10:40:30 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, master has been updated
       via  df6e607db567ecc5270305d351f034176c30c52e (commit)
      from  af4dc462e4f1212dc176a47de3d0074df4614d12 (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 df6e607db567ecc5270305d351f034176c30c52e
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