summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-07-25 10:49:39 +0000
committeralecpl <alec@alec.pl>2011-07-25 10:49:39 +0000
commit0213f8d4dddf88b1a3eec91ff0f95832ebac3008 (patch)
treed221b163d8097347d666edfc5ef393e6020dda3b /config
parent18371736346a2f71f37f68e6fd13de8b230a8baf (diff)
- Added optional "multithreading" autocomplete feature
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 4a0a9296e..db4ab92f7 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -571,6 +571,15 @@ $rcmail_config['autocomplete_addressbooks'] = array('sql');
// may need to do lengthy results building given overly-broad searches
$rcmail_config['autocomplete_min_length'] = 1;
+// Number of parallel autocomplete requests.
+// If there's more than one address book, n parallel (async) requests will be created,
+// where each request will search in one address book. By default (0), all address
+// books are searched in one request.
+$rcmail_config['autocomplete_threads'] = 0;
+
+// Max. numer of entries in autocomplete popup. Default: 15.
+$rcmail_config['autocomplete_max'] = 15;
+
// show address fields in this order
// available placeholders: {street}, {locality}, {zipcode}, {country}, {region}
$rcmail_config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {region}';