summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-03 14:25:19 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-03 14:25:19 +0200
commit36d004e3d0ad9ff97b66b2e505f6b17fd6d23102 (patch)
treebcea0ab4f689fcd3d176bb0ef70a442e26a12c5a /config
parent5a897b3f69d0fdadd39a0df49f93c01a1bfd8385 (diff)
Added 'contact_search_name' option to define autocompletion entry format
Diffstat (limited to 'config')
-rw-r--r--config/defaults.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index e7cb1e3aa..18171b75f 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -877,6 +877,11 @@ $config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {
// Note: For LDAP sources fuzzy_search must be enabled to use 'partial' or 'prefix' mode
$config['addressbook_search_mode'] = 0;
+// Template of contact entry on the autocompletion list.
+// You can use contact fields as: name, email, organization, department, etc.
+// See program/steps/addressbook/func.inc for a list
+$config['contact_search_name'] = '{name} <{email}>';
+
// ----------------------------------
// USER PREFERENCES
// ----------------------------------