N°2875 - Add possibility to configure the marker scope by either a class or an OQL

This commit is contained in:
Molkobain
2021-08-09 10:37:59 +02:00
parent 9eb477ce83
commit bd050dfe69
3 changed files with 43 additions and 12 deletions

View File

@@ -1287,9 +1287,9 @@ class Config
],
'mentions.allowed_classes' => [
'type' => 'array',
'description' => 'Classes which can be mentioned through the autocomplete in the caselogs. Key of the array must be a single character that will trigger the autocomplete (eg. "@" => "Person")',
'description' => 'Classes which can be mentioned through the autocomplete in the caselogs. Key of the array must be a single character that will trigger the autocomplete, value can be either a DM class or a valid OQL (eg. "@" => "Person", "?" => "SELECT FAQ WHERE status = \'published\')',
'default' => [
'@' => 'Person',
'@' => 'SELECT Person WHERE status = \'active\'',
],
'value' => false,
'source_of_value' => '',