mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-18 08:59:30 +00:00
Added an settings option to change the default behavior of including child categories or not
Fixes issue #1077
This commit is contained in:
parent
5dbe4ba00b
commit
1c8ca6c0a2
3 changed files with 37 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue