Commit d2576c57 by Скуратович Александр

+

1 parent 001496b0
......@@ -46,11 +46,8 @@ class HostFreeController extends Controller
*/
public function actionIndex()
{
/*'wis_status' => Host::STATUS_WIS_FREE, 'status' => Filter::STATUS_ON */
$params = Yii::$app->request->queryParams;
$params['wis_status']=Host::STATUS_WIS_FREE;
$searchModel = new HostSearch();
$dataProvider = $searchModel->search($params);
$searchModel = new HostSearch(['wis_status' => Host::STATUS_WIS_FREE, 'status' => Filter::STATUS_ON]);
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!