/** * Component post initialization */ protected function postInitialize() { parent::postInitialize(); if ($sValue = $this->_oFilterComponent->getControl('identifer')->getValue()) { $this->selectSQL->where('device.identifer LIKE CONCAT("%", ?, "%")', $sValue); } if ($sValue = $this->_oFilterComponent->getControl('linked')->getValue()) { $this->selectSQL->where('device.user IS NOT NULL'); } }