summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-10 07:57:56 +0000
committeralecpl <alec@alec.pl>2011-11-10 07:57:56 +0000
commitf21a04c024e57d2396c6a8ab78b055de098217ee (patch)
tree142979e9d62db88f361587bb2617eb31e1e7207a /config
parent81f5dd7774119e6f35f4594a68b25e53a22e65f2 (diff)
- Add option to define matching method for addressbook search (#1486564, #1487907)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 9493b3057..ef76c2a8d 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -627,6 +627,13 @@ $rcmail_config['autocomplete_max'] = 15;
// available placeholders: {street}, {locality}, {zipcode}, {country}, {region}
$rcmail_config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {region}';
+// Matching mode for addressbook search (including autocompletion)
+// 0 - partial (*abc*), default
+// 1 - strict (abc)
+// 2 - prefix (abc*)
+// Note: For LDAP sources fuzzy_search must be enabled to use 'partial' or 'prefix' mode
+$rcmail_config['addressbook_search_mode'] = 0;
+
// ----------------------------------
// USER PREFERENCES
// ----------------------------------