From 5bc1233de808442f8d412bf4394fda05b22f41d2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Thu, 26 Jul 2012 07:35:30 -0400
Subject: [PATCH] Use the same hard-coded fields for vlv-based autocompletion as in steps/mail/autocomplete.inc
---
program/include/rcube_ldap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 8f23a40..6a32a23 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -767,7 +767,7 @@
}
// use VLV pseudo-search for autocompletion
- if ($this->prop['vlv_search'] && $this->conn && join(',', (array)$fields) == 'email,name')
+ if ($this->prop['vlv_search'] && $this->conn && join(',', (array)$fields) == 'name,firstname,surname,email')
{
// add general filter to query
if (!empty($this->prop['filter']) && empty($this->filter))
--
Gitblit v1.9.1