From: erickson Date: Sun, 23 Nov 2008 15:33:12 +0000 (+0000) Subject: removing unused depth field for actor.org_unit_ancestors query X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8cb6ba3cebb0a05ca9fe068a2f5afca2a42bbac3;p=Evergreen.git removing unused depth field for actor.org_unit_ancestors query git-svn-id: svn://svn.open-ils.org/ILS/trunk@11308 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index 59a5898c59..d3e4f3c491 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1440,8 +1440,7 @@ sub get_org_descendants { } sub get_org_ancestors { - my($self, $org_id, $depth) = @_; - $depth ||= 0; + my($self, $org_id) = @_; my $org_list = OpenILS::Utils::CStoreEditor->new->json_query({ select => { @@ -1449,7 +1448,7 @@ sub get_org_ancestors { transform => 'actor.org_unit_ancestors', column => 'id', result_field => 'id', - params => [$depth] + params => [] }], }, from => 'aou',