Hi DC, When I want to do that, i need to disable the csrf check by configuring the filter form like this:
// in the configure() method of your *FormFilter $this->disableLocalCSRFProtection(); Then, I use link_to: <?php echo link_to(format_number_choice('[0]Aucune commande|[1]Une seule commande|(1,+Inf]%nb% commandes', array('%nb%' => $nb_commandes), $nb_commandes), 'commande_collection', array('action' => 'filter'), array( 'method' => 'post', 'query_string' => sprintf('commande_filters [semaine_id]=%s', $semaine->getId()), )) ?> On 2 fév, 01:40, DC <ciprian.dob...@gmail.com> wrote: > Can anyone tell me how to redirect from an admin list item to another > admin list, filtering the second one by secondList.firstListItem_id = > firstListItem.id ? > > I can't, for the life of me, get over the "CSRF attack detected" > message! > > Please help me, > Thanks. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.