fix for bug #2624: SQL error - CONCAT not supported by postgres

This commit is contained in:
Ralf Becker 2010-05-26 15:41:40 +00:00
parent d3c4f85a6b
commit 4b9b76bbe7

View File

@ -768,7 +768,7 @@ class infolog_so
// Multi-select - any entry with the filter value selected matches
$filtermethod .= $this->db->expression($this->extra_table, array(
'info_extra_name' => substr($col,1),
"CONCAT(',',info_extra_value,',') LIKE '%,$data,%'"
$this->db->concat("','",'info_extra_value',"','").' '.$this->db->capabilities[egw_db::CAPABILITY_CASE_INSENSITIV_LIKE].' '.$this->db->quote('%,'.$data.',%'),
)).')';
}
else