Added an settings option to change the default behavior of including child categories or not

Fixes issue #1077
This commit is contained in:
Jan Böhmer 2025-10-19 00:19:07 +02:00
parent 5dbe4ba00b
commit 1c8ca6c0a2
3 changed files with 37 additions and 7 deletions

View file

@ -73,4 +73,11 @@ class SidebarSettings
*/
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeRedirectsToNewEntity"))]
public bool $rootNodeRedirectsToNewEntity = false;
}
/**
* @var bool Whether to include child nodes in the data structure nodes table, or only show the selected node's parts.
*/
#[SettingsParameter(label: new TM("settings.behavior.sidebar.data_structure_nodes_table_include_children"),
description: new TM("settings.behavior.sidebar.data_structure_nodes_table_include_children.help"))]
public bool $dataStructureNodesTableIncludeChildren = true;
}