children optimization
This commit is contained in:
1 parent
f70815c335
commit
9b5f124081
2 files changed
+2
-4
No files matched your search
@@ -69,11 +69,11 @@ class RecordController extends Controller
|
||||
->status(explode(",", $arguments["status_in"]))
|
||||
->skip($skip)
|
||||
->sort($sort)
|
||||
->childrenFields($schema->visible)
|
||||
->childrenDepth(1)
|
||||
->parentsDepth(0)
|
||||
->runWithCount();
|
||||
|
||||
|
||||
$records = $graph->getRootRecords()->toArray();
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user