summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-03 12:20:58 +0000
committerthomascube <thomas@roundcube.net>2010-03-03 12:20:58 +0000
commitb975da27ef82499b2cdcac5080141e7a8f745102 (patch)
tree44804374e9044901185a7110e46a28cedce1c12e
parentaba0927545d3bd9998cbcf6bbc2a0b6bfd8d0318 (diff)
Allow admins to define defaults for search modifiers (#1485897)
-rw-r--r--CHANGELOG1
-rw-r--r--config/main.inc.php.dist6
2 files changed, 7 insertions, 0 deletions
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
?>