moved from arbitrary limit to -1 to indicate we want to flesh the children arrays...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Jul 2007 16:20:07 +0000 (16:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Jul 2007 16:20:07 +0000 (16:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7529 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index eabf4e7..9afc345 100644 (file)
@@ -1042,7 +1042,7 @@ sub get_org_tree {
                [
                        {"parent_ou" => undef },
                        {
-                               flesh                           => 1000, 
+                               flesh                           => -1,
                                flesh_fields    => { aou =>  ['children'] },
                                order_by                        => { aou => 'name'}
                        }
@@ -2308,7 +2308,7 @@ sub retrieve_groups_tree {
                [
                        { parent => undef},
                        {       
-                               flesh                           => 1000, 
+                               flesh                           => -1,
                                flesh_fields    => { pgt => ["children"] }, 
                                order_by                        => { pgt => 'name'}
                        }
@@ -2802,7 +2802,7 @@ sub slim_tree {
                [
                        {"parent_ou" => undef },
                        {
-                               flesh                           => 1000,
+                               flesh                           => -1,
                                flesh_fields    => { aou =>  ['children'] },
                                order_by                        => { aou => 'name'},
                                select                  => { aou => ["id","shortname", "name"]},