Db\DbQuery: do not expose applyFilterSql

This commit is contained in:
Thomas Gelf 2014-11-16 17:09:51 +01:00
parent 5ea2f33efb
commit b2a55f0998

View File

@ -134,11 +134,11 @@ class DbQuery extends SimpleQuery
return $select; return $select;
} }
public function applyFilterSql($query) protected function applyFilterSql($select)
{ {
$where = $this->renderFilter($this->filter); $where = $this->renderFilter($this->filter);
if ($where !== '') { if ($where !== '') {
$query->where($where); $select->where($where);
} }
} }