Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Remove all special case for ChoiceFilter #586

Merged
merged 1 commit into from Mar 25, 2020
Merged

Remove all special case for ChoiceFilter #586

merged 1 commit into from Mar 25, 2020

Conversation

VincentLanglet
Copy link
Member

Subject

Same as sonata-project/SonataDoctrineORMAdminBundle#1011

I am targeting this branch, because unfortunally this is a BC-break.

The all special case make no sens to me.

  • It's not documented
  • I can't filter by the all value if I have the all value in database.
  • It does nothing, it's the same than an empty input.

Changelog

### Removed
- Special case for the `all` value in ChoiceFilter

If accepted, I'll make the PR for the other ORM bundle.

@VincentLanglet VincentLanglet changed the base branch from 2.x to master March 25, 2020 00:05
@VincentLanglet VincentLanglet requested a review from a team March 25, 2020 00:12
@greg0ire greg0ire closed this Mar 25, 2020
@greg0ire greg0ire reopened this Mar 25, 2020
@VincentLanglet VincentLanglet merged commit b9974ec into sonata-project:master Mar 25, 2020
@VincentLanglet VincentLanglet deleted the removeAll branch March 25, 2020 08:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants