public function actionAdmin()
 {
     $model = new Facturas('search');
     $model->unsetAttributes();
     if (isset($_GET['Facturas'])) {
         $model->attributes = $_GET['Facturas'];
     }
     $this->render('admin', array('model' => $model));
 }