I think you’d have to post imho. I personally have persistent filters, even with complex CDbCriteria in my search. I’ve just re-tried to make sure and it works.
PS I’m filtering the standard ajax way and using standard CGridView or GroupGridView extension
Well code is better I use standard one from Gii, and it works (pagination is on by default, at least with the standard code).
Controller
public function actionAdmin() {
$model = new MyModel('search');
$model->unsetAttributes();
if (isset($_GET['MyModel']))
$model->setAttributes($_GET['MyModel']);
$this->render('admin', array(
'model' => $model,
));
}
Model
public function search() {
$criteria = new CDbCriteria;
$criteria->compare('someModelAttribute', $this->someModelAttribute);
$criteria->compare('…', $this->…, true);
return new CActiveDataProvider($this, array(
'criteria' => $criteria,
));
}