changed arbitrary flesh level from 2 to 1000 to avoid the chance of hitting that...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Jul 2007 15:56:37 +0000 (15:56 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Jul 2007 15:56:37 +0000 (15:56 +0000)
will discuss alternate approach to prevent having to put these limits at all...

git-svn-id: svn://svn.open-ils.org/ILS/trunk@7528 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

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