Commit bf599b96 by Carsten Brandt

gridview filter disable is false, not true

parent 78d321b2
...@@ -41,7 +41,7 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module- ...@@ -41,7 +41,7 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module-
} }
} }
$codes = array_unique($codes, SORT_NUMERIC); $codes = array_unique($codes, SORT_NUMERIC);
$statusCodes = (!empty($codes)) ? array_combine($codes, $codes) : true; $statusCodes = !empty($codes) ? array_combine($codes, $codes) : false;
echo GridView::widget([ echo GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment