summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-11-23 12:38:44 +0000
committerthomascube <thomas@roundcube.net>2008-11-23 12:38:44 +0000
commit2c8e84c1e59e0f45bab6fd7671949642bdb8a31d (patch)
tree62f05f2f27d19e9fe9c4cc715a4d18aac7f8f7f6 /config
parentb4b31d62afc42c3011aa9a3fc62cefbe89f0f4d2 (diff)
Do serverside addressbook queries for autocompletion (#1485531) + make autocompletion list clickable
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index c4a62b1f8..d9ef3d343 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -279,10 +279,13 @@ $rcmail_config['address_book_type'] = 'sql';
* 'sort' => 'cn', // The field to sort the listing by.
* 'scope' => 'sub', // search mode: sub|base|list
* 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
- * 'global_search' => true, // perform a global search for address auto-completion on compose
* 'fuzzy_search' => true); // server allows wildcard search
*/
+// An ordered array of the ids of the addressbooks that should be searched
+// when populating address autocomplete fields server-side. ex: array('sql','Verisign');
+$rcmail_config['autocomplete_addressbooks'] = array('sql');
+
// don't allow these settings to be overriden by the user
$rcmail_config['dont_override'] = array();