Skip to content

Commit

Permalink
ServerColumn - fixed Combo call
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Aug 19, 2015
1 parent 3de1bcc commit 09d4ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grid/ServerColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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',
Expand Down

0 comments on commit 09d4ca0

Please sign in to comment.