Make mail search scope configurable (#9077, #7556)

Co-authored-by: Vladimir D <vladimir@brandlight.org>
This commit is contained in:
vladimirdulov
2023-10-08 12:24:28 +04:00
committed by GitHub
parent c2ddaf15cd
commit e7360d87b1
3 changed files with 23 additions and 4 deletions

View File

@@ -1436,6 +1436,9 @@ $config['force_7bit'] = false;
// Please note that folder names should to be in sync with $config['*_mbox'] options
$config['search_mods'] = null; // Example: ['*' => ['subject'=>1, 'from'=>1], 'Sent' => ['subject'=>1, 'to'=>1]];
// Default search scope
$config['search_scope'] = null; // Example: 'all' - for all folders, 'base' - for current folder, 'sub' - for this and subfolders
// Defaults of the addressbook search field configuration.
$config['addressbook_search_mods'] = null; // Example: ['name'=>1, 'firstname'=>1, 'surname'=>1, 'email'=>1, '*'=>1];