public function actionManage() { $model = new Provincia('search'); $model->unsetAttributes(); if (isset($_GET['Provincia'])) { $model->setAttributes($_GET['Provincia']); } $this->render('manage', array('model' => $model)); }