Fixed the company name not being searched

This commit is contained in:
jengo 2000-08-25 17:45:23 +00:00
parent ea889f0b2c
commit f6dde056d6

View File

@ -110,7 +110,7 @@
. "%$query%' OR firstname like '%$query%' OR email like '%$query%' OR " . "%$query%' OR firstname like '%$query%' OR email like '%$query%' OR "
. "street like '%$query%' OR city like '%$query%' OR state " . "street like '%$query%' OR city like '%$query%' OR state "
. "like '%$query%' OR zip like '%$query%' OR notes like " . "like '%$query%' OR zip like '%$query%' OR notes like "
. "'%$query%') $ordermethod limit $limit"); . "'%$query%' OR company like %$query%') $ordermethod limit $limit");
} else { } else {
$phpgw->db->query("SELECT * FROM addressbook WHERE $filtermethod $ordermethod limit " $phpgw->db->query("SELECT * FROM addressbook WHERE $filtermethod $ordermethod limit "
. $limit); . $limit);