Skip to content

Commit

Permalink
Use the same hard-coded fields for vlv-based autocompletion as in ste…
Browse files Browse the repository at this point in the history
…ps/mail/autocomplete.inc
  • Loading branch information
thomascube committed Jul 26, 2012
1 parent 27bcb00 commit 5bc1233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/include/rcube_ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ function search($fields, $value, $mode=0, $select=true, $nocount=false, $require
}

// 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))
Expand Down

0 comments on commit 5bc1233

Please sign in to comment.