From: erickson Date: Tue, 5 Feb 2008 15:05:34 +0000 (+0000) Subject: fixed calls to new_editor, which will not work in apputils (circular ref) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0b384ad6c985e96e707a3da524a35fa3e81babf9;p=Evergreen.git fixed calls to new_editor, which will not work in apputils (circular ref) git-svn-id: svn://svn.open-ils.org/ILS/trunk@8630 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 88d638abef..7f5716d0e9 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1383,7 +1383,7 @@ sub get_org_descendants { my($self, $org_id, $depth) = @_; $depth ||= 0; - my $org_list = new_editor()->json_query( + my $org_list = OpenILS::Utils::CStoreEditor->new->json_query( select => { aou => [{ transform => 'actor.org_unit_descendants', @@ -1404,7 +1404,7 @@ sub get_org_ancestors { my($self, $org_id, $depth) = @_; $depth ||= 0; - my $org_list = new_editor()->json_query( + my $org_list = OpenILS::Utils::CStoreEditor->new->json_query( select => { aou => [{ transform => 'actor.org_unit_ancestors', @@ -1426,7 +1426,7 @@ sub get_org_full_path { my($self, $org_id, $depth) = @_; $depth ||= 0; - my $org_list = new_editor()->json_query( + my $org_list = OpenILS::Utils::CStoreEditor->new->json_query( select => { aou => [{ transform => 'actor.org_unit_full_path',