From 2c8e84c1e59e0f45bab6fd7671949642bdb8a31d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 23 Nov 2008 07:38:44 -0500
Subject: [PATCH] Do serverside addressbook queries for autocompletion (#1485531) + make autocompletion list clickable

---
 config/main.inc.php.dist |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index c4a62b1..d9ef3d3 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -279,10 +279,13 @@
  *  '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();
 

--
Gitblit v1.9.1