[open-ils-commits] r8630 - trunk/Open-ILS/src/perlmods/OpenILS/Application

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Feb 5 10:33:53 EST 2008


Author: erickson
Date: 2008-02-05 10:05:34 -0500 (Tue, 05 Feb 2008)
New Revision: 8630

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
fixed calls to new_editor, which will not work in apputils (circular ref)

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2008-02-05 15:00:00 UTC (rev 8629)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2008-02-05 15:05:34 UTC (rev 8630)
@@ -1383,7 +1383,7 @@
 	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 @@
 	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 @@
 	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',



More information about the open-ils-commits mailing list