This commit is contained in:
AlexGx
2014-03-17 01:45:39 +02:00
parent 29f174cc73
commit a7046f27d0

View File

@@ -219,7 +219,7 @@ class GridView extends BaseListView
*/
protected function getClientOptions()
{
$filterUrl = isset($this->filterUrl) ? $this->filterUrl : [Yii::$app->controller->action->id] + Yii::$app->controller->actionParams;
$filterUrl = isset($this->filterUrl) ? $this->filterUrl : Yii::$app->request->url;
$id = $this->filterRowOptions['id'];
$filterSelector = "#$id input, #$id select";
if (isset($this->filterSelector)) {