From b975da27ef82499b2cdcac5080141e7a8f745102 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 3 Mar 2010 12:20:58 +0000 Subject: [PATCH] Allow admins to define defaults for search modifiers (#1485897) --- CHANGELOG | 1 + config/main.inc.php.dist | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 74fa86039..9a0afce36 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Let the admin define defaults for search modifiers (#1485897) - Fix long e-mail addresses validation (#1486453) - Remember search modifiers in user prefs (#1486146) - Added force_7bit option to force MIME encoding of plain/text messages (#1486510) diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index d9bf34036..819153f76 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -475,5 +475,11 @@ $rcmail_config['sig_above'] = FALSE; // Use MIME encoding (quoted-printable) for 8bit characters in message body $rcmail_config['force_7bit'] = FALSE; +// Defaults of the search field configuration. +// The array can contain a per-folder list of header fields which should be considered when searching +// The entry with key '*' stands for all folders which do not have a specific list set. +// Please note that folder names should to be in sync with $rcmail_config['default_imap_folders'] +$rcmail_config['search_mods'] = null; // Example: array('*' => array('subject'=>1, 'from'=>1), 'Sent' => array('subject'=>1, 'to'=>1)); + // end of config file ?>