From 36d004e3d0ad9ff97b66b2e505f6b17fd6d23102 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 03 Jul 2014 08:25:19 -0400 Subject: [PATCH] Added 'contact_search_name' option to define autocompletion entry format --- config/defaults.inc.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index e7cb1e3..18171b7 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -877,6 +877,11 @@ // 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 // ---------------------------------- -- Gitblit v1.9.1