Search working, still need to limit to one match per row

This commit is contained in:
Miles Lott 2001-03-22 20:36:26 +00:00
parent 4573f18ad7
commit 26a852cf05

View File

@ -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);