Skip to content

Problem with the browser Back button. #20

@aquataller

Description

@aquataller

Hi, I'm implementing this example: http://www.yiiframework.com/wiki/772/pjax-on-activeform-and-gridview-yii2

But instead of adding records, i´m using it to search a model via GET.
Everything behaves the way it should, exept when I use the browser back button and reach the first state without any search, pjax is replacing the GridView with a duplicate of the search form, so I´m getting a page with two search forms and no GridView.

I've also tested it using a plain CRUD generated by Yii, and I get the same wrong behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions