mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +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();
|
$ldap_fields = array();
|
||||||
$total = 0;
|
$total = 0;
|
||||||
while (list($name,$value) = each($stock_fieldnames) ) {
|
while (list($name,$value) = each($stock_fieldnames) ) {
|
||||||
$lquery = $value.'='.$query;
|
$lquery = $value.'=*'.$query.'*';
|
||||||
//echo $lquery; exit;
|
//echo $lquery; exit;
|
||||||
$sri = ldap_search($this->ldap, $phpgw_info["server"]["ldap_contact_context"], $lquery);
|
$sri = ldap_search($this->ldap, $phpgw_info["server"]["ldap_contact_context"], $lquery);
|
||||||
$ldap_fields += ldap_get_entries($this->ldap, $sri);
|
$ldap_fields += ldap_get_entries($this->ldap, $sri);
|
||||||
|
Loading…
Reference in New Issue
Block a user