From 76f53ef416b37c4bbe168ce198ef094ca677786f Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 10 Mar 2021 18:57:19 -0500 Subject: [PATCH] LP#1815815: Do not use depth when filtering copies for a library group Signed-off-by: Mike Rylander Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 36f64ecc2d..9deb0bfc8a 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -331,7 +331,7 @@ sub mk_copy_query { column => 'id', transform => 'actor.org_unit_descendants', result_field => 'id', - params => [$depth] + ( $lasso_orgs ? () : (params => [$depth]) ) }]}, from => 'aou', where => {id => $filter_orgs} -- 2.11.0