mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
fix
This commit is contained in:
@@ -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] + Yii::$app->controller->actionParams;
|
$filterUrl = isset($this->filterUrl) ? $this->filterUrl : Yii::$app->request->url;
|
||||||
$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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user