summaryrefslogtreecommitdiff
path: root/roundcubemail/config
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-10 07:57:56 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-10 07:57:56 +0000
commit51b47415144677d3ccda4d1a28e2e40a5776fc27 (patch)
tree48e7ee35fbab3df9188a8ed519d3163eb7b1ee76 /roundcubemail/config
parent77aa861396f15e02c2dee4d23991bba1547e3664 (diff)
- Add option to define matching method for addressbook search (#1486564, #1487907)
git-svn-id: https://svn.roundcube.net/trunk@5406 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/config')
-rw-r--r--roundcubemail/config/main.inc.php.dist7
1 files changed, 7 insertions, 0 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist
index 9493b3057..ef76c2a8d 100644
--- a/roundcubemail/config/main.inc.php.dist
+++ b/roundcubemail/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
// ----------------------------------