summaryrefslogtreecommitdiff
path: root/roundcubemail/config
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-07 08:36:52 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-07 08:36:52 +0000
commita412f23e445bff2df00fcec502b56a5ddf2c5a30 (patch)
treecabe57724cb63b6bfaef27380da2e9e1eacf9e67 /roundcubemail/config
parentd298cece9c5b1de0d59bd6d1e79cf168deb6b454 (diff)
- Add option for minimum length of autocomplete's string (#1486428)
git-svn-id: https://svn.roundcube.net/trunk@4190 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/config')
-rw-r--r--roundcubemail/config/main.inc.php.dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist
index eed34cadb..0d71c44eb 100644
--- a/roundcubemail/config/main.inc.php.dist
+++ b/roundcubemail/config/main.inc.php.dist
@@ -462,6 +462,11 @@ $rcmail_config['ldap_public']['Verisign'] = array(
// when populating address autocomplete fields server-side. ex: array('sql','Verisign');
$rcmail_config['autocomplete_addressbooks'] = array('sql');
+// The minimum number of characters required to be typed in an autocomplete field
+// before address books will be searched. Most useful for LDAP directories that
+// may need to do lengthy results building given overly-broad searches
+$rcmail_config['autocomplete_min_length'] = 1;
+
// ----------------------------------
// USER PREFERENCES
// ----------------------------------