In the administration generated by symfony, how do I override the method executeIndex() ?
I want to list only the items that have a specific state, and all I found in cache/backend/dev/modules/auto.../ was :
$this->pager = $this->getPager();
How do I change the query used by the pager ?
There's no need to ovveride action or templates just to filter your results. It's better to use table_method option in generator.yml See http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_sub_table_method