I follow the instruction in this blog: http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-i/ So i have this in my code:
1. Actions public function executeSearch(sfWebRequest $request) { $this->form = new DenunciaFormFilter(); $this->setTemplate('search'); } public function executeFilter(sfWebRequest $request) { $this->filtro = new DenunciaFormFilter(); $criteria = $this->filtro->buildCriteria($ request->getParameter('denuncia_filters')); $this->denuncias = DenunciaPeer::doSelect($criteria); $this->setTemplate('search'); } I thought i was going to have an error for the setTemplate in execute filter, but no!, the error is this: Catchable fatal error: Argument 1 passed to sfFormFilterPropel::buildCriteria() must be an array, null given, called in /home/germana/www/indepabis/apps/intranet/modules/denuncia/actions/actions.class.php on line 136 and defined in /usr/local/symfony/RELEASE_1_2_5/lib/plugins/sfPropelPlugin/lib/form/sfFormFilterPropel.class.php on line 103 So it seems the POST is not working!!! so it does not filter My form, where i di the search, is this (resume): <form action="<?php echo url_for('denuncia/filter') ?>" method="post"> What could be happening¿? Thanks!! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 To unsubscribe, reply using "remove me" as the subject.