summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-07-26 13:35:30 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-07-26 13:35:30 +0200
commit5bc1233de808442f8d412bf4394fda05b22f41d2 (patch)
tree3310997269630c73b3029416a746fdcbe0b80f51 /program/include
parent27bcb0026ef3c39a07af0757c01b89a4ebfcb0c0 (diff)
Use the same hard-coded fields for vlv-based autocompletion as in steps/mail/autocomplete.inc
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 8f23a406b..6a32a23ef 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -767,7 +767,7 @@ class rcube_ldap extends rcube_addressbook
}
// 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))