I never noticed that, but you are right, here is a small patch for the action.class of the admin generator theme :
in executeList() function replace :
$this->pager->setPage($this->getRequestParameter('page', 1));
by :
$this->pager->setPage($this->getRequestParameter('page', $this->getUser()->getAttribute('page', 1, 'sf_admin/<?php echo $this->getSingularName() ?>')));
in executeList() function add at the end :
// Save page
if ($this->getRequestParameter('page')) {
$this->getUser()->setAttribute('page', $this->getRequestParameter('page'), 'sf_admin/<?php echo $this->getSingularName() ?>');
}
in the process() function, before the 1st removenamespace statement add :
$this->getUser()->getAttributeHolder()->removeNamespace('sf_admin/<?php echo $this->getSingularName() ?>');
That should do the job.