Hope this help if I understood your question correctly. Please let us know.
In the generated actions class of the new admin gen in sf 1.2, the executeFilter(sfWebRequest $request) function does not merged parameter with the existing filters. Thus from an author index page, if you create an action to link from an author directly to its list of articles (i.e. http://..//backend_dev.php/articles/filter?author_id=1, you are redirected to your articles index page but nothing is filtered. To achieve my gooal I have overwrited the executeFilter method by modifying the line : $this->setFilters($this->filters->getValues()) to $this->setFilters (array_merge($this->filters->getValues(), $request->getParameterHolder ()->getAll())); => I have tested both with sfpropelplugin and sfdoctrineplugin. It also populates your filter form. Note that I opened a ticket for it (please visit : http://trac.symfony-project.org/ticket/4871) but I do not know if it will be included in the generator regarding Fabiens' answer. Regards, Fredlab --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
