how can I keep the filtered result in a CGridView when I go to a detailed view page and then go back to the admin view? I did not find anything in the forum, or maybe I just used the wrong questions and keywords. So please give me a hint, a link or even better a howto.
you can save your model in user state or session variable
CGridView keep state of page and sort
Here is one example.
public function actionAdmin()
$model->unsetAttributes(); // clear any default values
Yii::app()->user->setState('grid',$_GET);//saving all the get parameters into session.
Just append the following in view.php
echo CHtml::link("Return to Grid",array_merge($route,$grid));
Now you will exactly land from where you came.
It retains previous sorting and page as well.
The only drawback here is ugly looking url.
I hope I helped a bit.