summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-07 08:36:52 +0000
committeralecpl <alec@alec.pl>2010-11-07 08:36:52 +0000
commitc296b810bc63c91f27c4c601646d5011cae54b5f (patch)
tree8420ad0003d4b2a21f8dc181c0ff81cce9031d5c /config
parentcdf1ae0029172c27f8e66389786789d2834e04e4 (diff)
- Add option for minimum length of autocomplete's string (#1486428)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index eed34cadb..0d71c44eb 100644
--- a/config/main.inc.php.dist
+++ b/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
// ----------------------------------