sonata-project/SonataAdminBundle — Issue #402: Translation and DESC for Many-to-Many problems
Author: mcat83
Created: 2011-11-14 09:30:11+00:00
State: open

Hi,
I have 2 problems/questions that I cannot fix:

1) In the Admin class I use the label directive to change the label of the field like this one ->add('nomePrev', null, array('label' => 'Nome Preventivo')) (putted into the configureFormFields function), but if I put the same into configureListFields and configureDatagridFilters functions, it doesn't work. Why?

2) I have a multiple select box from a Many to Many association (I use sonata_type_model). The sort default is ASC, I want to make it DESC (only for this field!). How can I make it?

Thanks!