N°3620 - Add confg. parameter to disable "quick create" history

This commit is contained in:
Molkobain
2021-01-13 10:40:31 +01:00
parent 6a33fbc7b3
commit 9221899525
4 changed files with 29 additions and 4 deletions

View File

@@ -1130,7 +1130,7 @@ class Config
],
'quick_create.enabled' => [
'type' => 'bool',
'description' => 'Whether or not the global search is enabled',
'description' => 'Whether or not the quick create is enabled',
'default' => true,
'value' => true,
'source_of_value' => '',
@@ -1138,15 +1138,23 @@ class Config
],
'quick_create.max_autocomplete_results' => [
'type' => 'integer',
'description' => 'Max. number of elements returned by the autocomplete.',
'description' => 'Max. number of elements returned by the autocomplete',
'default' => 10,
'value' => 10,
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'quick_create.show_history' => [
'type' => 'bool',
'description' => 'Whether or not to display the elements in the history',
'default' => true,
'value' => true,
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'quick_create.max_history_results' => [
'type' => 'integer',
'description' => 'Max. number of elements in the history.',
'description' => 'Max. number of elements in the history',
'default' => 10,
'value' => 10,
'source_of_value' => '',