These are chat archives for symfony2admingenerator/GeneratorBundle

16th
Apr 2015
Dražen Perić
@peric
Apr 16 2015 07:29
hey @loostro, this is what I get (sorry for formatting) https://gist.github.com/peric/13970716265306fa1c5c
And yes, there is not exit_route, it's null. What should it be?
ioleo
@ioleo
Apr 16 2015 17:17
@peric #143 just merged, should fix your issue
Matej Velikonja
@matejvelikonja
Apr 16 2015 19:12
@sescandell could you give me a example config file to test #142
Stéphane
@sescandell
Apr 16 2015 20:27
Given you have an entity with a field defined as a boolean activated

if, in your generator file, you define the following:

...
   fields:
        activated:
            filterable: true
...
   list:
        filters:
            - activated

You should see on your list page the filter box with the "activated" field filter as a selectbox containing 3 options:

- Yes or no
- Yes
- No

and not the translation keys