Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gridview pjax search stopped working #7629

Closed
hesna opened this issue Mar 8, 2015 · 7 comments
Closed

gridview pjax search stopped working #7629

hesna opened this issue Mar 8, 2015 · 7 comments

Comments

@hesna
Copy link
Contributor

hesna commented Mar 8, 2015

I just updated my libraries via composer and bower-asset/yii2-pjax updated from v2.0.2 to v2.0.3

gridview was wrapped within pjax widget and its filters were working fine, now they stopped working and following error appears in firbug console:

ReferenceError: stripPjaxParam is not defined       jquery.pjax.js (line 366, col 2)
@hesna
Copy link
Contributor Author

hesna commented Mar 8, 2015

@zelenin 👍

@samirmember
Copy link

I have exactly the same issue.
I can see in the @zelenin links that there was an updates on pjax. But how can I resolve this?

@angelcoding
Copy link

@samirmember
Not sure how correct this is but should work as a temp workaround until fix is released ...
change vendor\bower\yii2-pjax\jquery.pjax.js line 366
from
options.url = stripPjaxParam(options.url);
to
options.url = stripInternalParams(options.url);

@samdark
Copy link
Member

samdark commented Mar 8, 2015

Fixed.

@samdark samdark closed this as completed Mar 8, 2015
@xiandalisay
Copy link

I have exactly the same issue.

@samirmember
Copy link

@xiandalisay This bug is fixed and you should run composer update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants