diff --git a/src/grid/ServerColumn.php b/src/grid/ServerColumn.php index d1063d99..9475e21e 100644 --- a/src/grid/ServerColumn.php +++ b/src/grid/ServerColumn.php @@ -3,6 +3,7 @@ namespace hipanel\modules\server\grid; use hipanel\grid\DataColumn; +use hipanel\modules\server\widgets\combo\ServerCombo; use hiqdev\combo\Combo; use yii\helpers\Html; @@ -18,8 +19,7 @@ public function init () { $this->filterInputOptions['id'] = $this->attribute; } if (!$this->filter && $this->grid->filterModel) { - $this->filter = Combo::widget([ - 'type' => 'server', + $this->filter = ServerCombo::widget([ 'attribute' => $this->attribute, 'model' => $this->grid->filterModel, 'formElementSelector' => 'td',