[open-ils-commits] r11308 - trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 23 10:33:14 EST 2008
Author: erickson
Date: 2008-11-23 10:33:12 -0500 (Sun, 23 Nov 2008)
New Revision: 11308
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
removing unused depth field for actor.org_unit_ancestors query
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2008-11-23 15:32:00 UTC (rev 11307)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2008-11-23 15:33:12 UTC (rev 11308)
@@ -1440,8 +1440,7 @@
}
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 @@
transform => 'actor.org_unit_ancestors',
column => 'id',
result_field => 'id',
- params => [$depth]
+ params => []
}],
},
from => 'aou',
More information about the open-ils-commits
mailing list