Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
8cb144c5
Commit
8cb144c5
authored
Mar 16, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2760 from AlexGx/fix-gridview-url
fix GridView filterUrl bug
parents
9e33dedc
234c2c0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
GridView.php
framework/grid/GridView.php
+1
-1
No files found.
framework/CHANGELOG.md
View file @
8cb144c5
...
...
@@ -59,6 +59,7 @@ Yii Framework 2 Change Log
-
Bug #2695: Fixed the issue that
`FileValidator::isEmpty()`
always returns true for validate multiple files (ZhandosKz)
-
Bug #2739: Fixed the issue that
`CreateAction::run()`
was using obsolete
`Controller::createAbsoluteUrl()`
method (tonydspaniard)
-
Bug #2740: Fixed the issue that
`CaptchaAction::run()`
was using obsolete
`Controller::createUrl()`
method (tonydspaniard)
-
Bug #2760: Fixed GridView
`filterUrl`
parameters (qiangxue, AlexGx)
-
Bug: Fixed
`Call to a member function registerAssetFiles() on a non-object`
in case of wrong
`sourcePath`
for an asset bundle (samdark)
-
Bug: Fixed incorrect event name for
`yii\jui\Spinner`
(samdark)
-
Bug: Json::encode() did not handle objects that implement JsonSerializable interface correctly (cebe)
...
...
framework/grid/GridView.php
View file @
8cb144c5
...
...
@@ -219,7 +219,7 @@ class GridView extends BaseListView
*/
protected
function
getClientOptions
()
{
$filterUrl
=
isset
(
$this
->
filterUrl
)
?
$this
->
filterUrl
:
[
Yii
::
$app
->
controller
->
action
->
id
]
;
$filterUrl
=
isset
(
$this
->
filterUrl
)
?
$this
->
filterUrl
:
Yii
::
$app
->
request
->
url
;
$id
=
$this
->
filterRowOptions
[
'id'
];
$filterSelector
=
"#
$id
input, #
$id
select"
;
if
(
isset
(
$this
->
filterSelector
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment