-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks to @CheapHasz initiative and work : * All list filter forms use ListFilter as model * Add more built-in operators to list filters * Improved list filter forms guesser * Decoupling `name` and `property` for a list filter form=> allows to define many list filters dealing with the same entity property
- Loading branch information
Showing
15 changed files
with
613 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# UPGRADE guide for EasyAdminExtension bundle | ||
|
||
## v2.1.0 | ||
|
||
List filters form have been improved, with minor BC breaks : | ||
|
||
* Label must be configured on the root level, not in the `type_options` attribiute. | ||
|
||
__BEFORE__ | ||
|
||
```yaml | ||
easy_admin: | ||
entities: | ||
MyEntity: | ||
class: App\Entity\MyEntity | ||
list: | ||
form_filters: | ||
- { name: myFilter, property: status, type_options: { label: 'Filter on status' } } | ||
``` | ||
__AFTER__ | ||
```yaml | ||
easy_admin: | ||
entities: | ||
MyEntity: | ||
class: App\Entity\MyEntity | ||
list: | ||
form_filters: | ||
- { name: myFilter, property: status, label: 'Filter on status' } | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.