mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Search working, still need to limit to one match per row
This commit is contained in:
parent
4573f18ad7
commit
26a852cf05
@ -357,7 +357,7 @@
|
||||
$ldap_fields = array();
|
||||
$total = 0;
|
||||
while (list($name,$value) = each($stock_fieldnames) ) {
|
||||
$lquery = $value.'='.$query;
|
||||
$lquery = $value.'=*'.$query.'*';
|
||||
//echo $lquery; exit;
|
||||
$sri = ldap_search($this->ldap, $phpgw_info["server"]["ldap_contact_context"], $lquery);
|
||||
$ldap_fields += ldap_get_entries($this->ldap, $sri);
|
||||
|
Loading…
Reference in New Issue
Block a user