From afc5bd4013ebaf03066ca66d66c6440d9ca80357 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 5 Jan 2018 17:04:53 -0500 Subject: [PATCH] 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 --- .../lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 69ca684fb2..f7e710eb9a 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 @@ -1357,11 +1357,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'}}, -- 2.11.0