From f21a04c024e57d2396c6a8ab78b055de098217ee Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 10 Nov 2011 07:57:56 +0000 Subject: - Add option to define matching method for addressbook search (#1486564, #1487907) --- config/main.inc.php.dist | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') 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}
{locality} {zipcode}
{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 // ---------------------------------- -- cgit v1.2.3