[symfony-users] Re: Problem with filters

2010-08-05 Thread Tom Ptacnik
One problem might be in that you are changing the 'nom' from text to list Then you have to build query with another method. So you need to overwrite the getFields() method: public function getFields() { $fields = parent::getFields(); $fields['nom'] = 'ForeignKey'; return $fields;

[symfony-users] Re: Problem with filters

2010-08-04 Thread florian périn
I want this filters to do the role of filter. When I choose for exemple 'non' on enligne, there are only families with 0 on the column enligne. But when I chose this, there is not generated SQL query... So I don't know what to do. On 3 août, 16:35, Tom Ptacnik to...@tomor.cz wrote: What do you

[symfony-users] Re: Problem with filters

2010-08-03 Thread Tom Ptacnik
What means doesn't work? How it looks before ... show BaseFormFilter class, or the schema of the object at least. Which version of Symfony? On 3 srp, 11:01, florian périn poulet.va...@gmail.com wrote: Hello, I wanted to change the type of my filters auto-generate with admin- generator, but

[symfony-users] Re: Problem with filters

2010-08-03 Thread florian périn
I use symfony 1.4.5. //lib/filter/doctrine/BackendgammeFormFilter.class.php 1 ?php 2 3 /** 4 * Gamme filter form backend class. 5 * 6 * @packagerefactor_metaux 7 * @subpackage filter 8 * @author Florian PÉRIN 9 * @versionSVN: $Id:

[symfony-users] Re: Problem with filters

2010-08-03 Thread Tom Ptacnik
What do you want to this filter to do? And what is does instead? ... look on the generated SQL query which is creaded by the filter. This is the way to go to find your mistake. On 3 srp, 13:16, florian périn poulet.va...@gmail.com wrote: I use symfony 1.4.5.