public function search()
{
// Warning: Please modify the following code to remove attributes that
// should not be searched.
$criteria = new CDbCriteria();
$criteria->compare('category_id', $this->category_id);
$criteria->compare('filter_id', $this->filter_id);
return new CActiveDataProvider($this, array('criteria' => $criteria));
}