mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 04:56:02 +02:00
Rendering potentially 1000s of nodes can exceed the CPU and memory constraints of a normal PHP process, as well as the rendering capabilities of browsers. Set a hard maximum for the renderable nodes, deferring to a "show as list" action in the main CMS tree. For TreeDropdownField, we don't have the list fallback option, so ask the user to search for the node title instead. Also makes both the "node_threshold_total" and "node_threshold_leaf" values configurable
34 lines
765 B
YAML
34 lines
765 B
YAML
HierarchyTest_Object:
|
|
obj1:
|
|
Title: Obj 1
|
|
obj2:
|
|
Title: Obj 2
|
|
obj3:
|
|
Title: Obj 3
|
|
obj2a:
|
|
Parent: =>HierarchyTest_Object.obj2
|
|
Title: Obj 2a
|
|
obj2b:
|
|
Parent: =>HierarchyTest_Object.obj2
|
|
Title: Obj 2b
|
|
obj3a:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3a
|
|
obj3b:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3b
|
|
obj3c:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3c
|
|
obj2aa:
|
|
Parent: =>HierarchyTest_Object.obj2a
|
|
Title: Obj 2aa
|
|
obj2ab:
|
|
Parent: =>HierarchyTest_Object.obj2a
|
|
Title: Obj 2ab
|
|
obj3aa:
|
|
Parent: =>HierarchyTest_Object.obj3a
|
|
Title: Obj 3aa
|
|
obj3ab:
|
|
Parent: =>HierarchyTest_Object.obj3a
|
|
Title: Obj 3ab |