* Addressbook/PostgreSQL: lettersearch in organisation-view allways returned empty

This commit is contained in:
Ralf Becker 2011-04-11 16:33:00 +00:00
parent f46cb24198
commit a52f9ccc4d

View File

@ -143,7 +143,7 @@ class addressbook_sql extends so_sql_cf
}
if ($param['searchletter'])
{
$filter[] = 'org_name LIKE '.$this->db->quote($param['searchletter'].'%');
$filter[] = 'org_name '.$this->db->capabilities[egw_db::CAPABILITY_CASE_INSENSITIV_LIKE].' '.$this->db->quote($param['searchletter'].'%');
}
else
{