public function actionIndex() { $this->pageTitle = 'Теги'; $this->breadcrumbs = array('Теги'); $model = new Category('search'); $model->unsetAttributes(); if (isset($_GET['Category'])) { $model->attributes = $_GET['Category']; } $dataProvider = $model->active()->search(); $this->render('index', array('model' => $model, 'dataProvider' => $dataProvider)); }