YII 1.1.8 CGridView pagination error

Hi guys,

I have an issue with the CGridView pagination, after generating my model and CRUD for it. I then go to /mymodel/admin (this page use CGridView). If I do not use my filter, then the pagination is working fine. However if I do filter any column, then the pagination going crazy. Does anyone suffering the same problem and have a solution for it.

Thank you very much

Khoailang

Hi Guys,

Qiang Xue was helping me to solve the issue in another forum, so I post it here hope it could help other who have the same issue.

add a url rule to urlManager as follows:

‘<controller:\w+>/<action:\w+>’ => ‘<controller>/<action>’

Thank you very much to Qiang

KB