From: Mike Rylander Date: Wed, 10 Mar 2021 23:57:19 +0000 (-0500) Subject: LP#1815815: Do not use depth when filtering copies for a library group X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=76f53ef416b37c4bbe168ce198ef094ca677786f;p=evergreen%2Fpines.git 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 --- 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}