sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.1k stars 1.26k forks source link

Rely on filter methods rather than option #8172

Closed VincentLanglet closed 3 months ago

VincentLanglet commented 3 months ago

Subject

1) We should rely on filter methods rather than options. 2) a lot of filter options could be set by default instead asking for them in persistence bundle

Fix https://github.com/sonata-project/SonataDoctrineORMAdminBundle/issues/1779

Changelog

### Fixed
- `label_translation_parameters` option usage

### Deprecated
- Not implementing `FilterInterface::showFilter`
- Not implementing `FilterInterface::getLabelTranslationParameters`
- Not implementing `FilterInterface::withAdvancedFilter`