Commit 23a669a3 by AlexGx

upd for psr2

parent 3e23f7ad
...@@ -219,7 +219,7 @@ class GridView extends BaseListView ...@@ -219,7 +219,7 @@ class GridView extends BaseListView
*/ */
protected function getClientOptions() protected function getClientOptions()
{ {
$filterUrl = isset($this->filterUrl) ? $this->filterUrl : [Yii::$app->controller->action->id]; $filterUrl = isset($this->filterUrl) ? $this->filterUrl : [Yii::$app->controller->action->id] + Yii::$app->controller->actionParams;
$id = $this->filterRowOptions['id']; $id = $this->filterRowOptions['id'];
$filterSelector = "#$id input, #$id select"; $filterSelector = "#$id input, #$id select";
if (isset($this->filterSelector)) { if (isset($this->filterSelector)) {
......
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