Yii CListView pagination linking to previous result -


i have clistview pagination showing results. works fine.

i have search widget on page renders partial view replace existing list search results.

the first search result page loads, looks great, , shows correct number of results in pagination, if try go 1 of next pages, items first list loaded.

does know have in order fix this? search results need own full view rendered?

thanks in advance.

i mistaken.

the pagination not linking previous result, loading previous result does, why mistaken.

i thought data provider in controller kept track of result set have keep resending same criteria every time. sending criteria first time , not on subsequent results loaded in absence of constraints. put search parameters in session , retrieved them considered on every request , fixed problem.

in short there no bug, me being new working yii.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -