Symfony 1.4 filter on index page

Posted by Imran Azad on Stack Overflow See other posts from Stack Overflow or by Imran Azad
Published on 2012-09-09T03:33:22Z Indexed on 2012/09/09 3:38 UTC
Read the original article Hit count: 218

Filed under:
|

I'm trying to apply a filter to the index page of my module, the code works as I've tested it on another page called filter within the same module. The problem I'm having is that on submitting the filter on the index page (form action points to index) Symfony instead decides to route to the create action for some reason. Although the create method isn't visible in the URL a new form is instantiated on the index page which leads me to suspect it is routing to the create action:

 http://locahost.com/frontend_dev.php/mymodule

Any ideas how I can get a filter to work on the index page?

© Stack Overflow or respective owner

Related posts about symfony

Related posts about symfony-1.4