From: Mike Rylander Date: Fri, 5 Jan 2018 22:04:53 +0000 (-0500) Subject: LP#1736419: Located URIs vs QueryParser, round 2, part deux X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d63b81fc37ff73d8c5030ce97234b9af61c37220;p=contrib%2FConifer.git LP#1736419: Located URIs vs QueryParser, round 2, part deux Now we will be less strict about the 'act_as_copy' flag, and only check for enabledness, rather than the truth of its value column. Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- 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 5e5ac44cc6..e84efa2e78 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 @@ -1342,11 +1342,7 @@ sub flatten { my $lorgs = [@$aorgs]; my $luri_as_copy_gf = $U->get_global_flag('opac.located_uri.act_as_copy'); - push @$lorgs, @$dorgs if ( - $luri_as_copy_gf - and $U->is_true($luri_as_copy_gf->enabled) - and $U->is_true($luri_as_copy_gf->value) - ); + push @$lorgs, @$dorgs if ($luri_as_copy_gf and $U->is_true($luri_as_copy_gf->enabled)); $uses_bre = 1; push @{$vis_filter{'b_attr'}},