I'm a little late to the party here but I had the same problem and
think I've found a solution. I have a list of employers and on that
list I want the user to be able to drill down to the employer's
employees. To accomplish this I needed to redirect to a separate
module and apply a filter.
The issue is that the filter is not applied in the "index" action but
in the "filter" action so you must redirect to the "module/filter"
url. The following code works to correctly filter my results.
public function executeListEmployees(sfWebRequest $request)
{
$this->redirect('employee/filter?employee_filters[employer_id]='.
$request->getParameter('employer_id').'&filter=filter');
}
I hope this will help someone in the future. Good luck.
Ethan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---