Closed bobemoe closed 3 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This is a similar issue of https://github.com/sonata-project/SonataAdminBundle/issues/3569
This is a similar issue of sonata-project/SonataAdminBundle#3569
This issue talk about other filters like StartWith
and EndWith
.
And he's looking for ''
value only. This is more precise than your issue.
Any ideas on how to implement :
This issue talk about other filters like StartWith and EndWith.
TIA
Any ideas on how to implement :
This issue talk about other filters like StartWith and EndWith.
TIA
Do you want to make a PR ?
StartWith foo = LIKE foo%
EndWith foo = LIKE %foo
@VincentLanglet Please have a look https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1057 https://github.com/sonata-project/SonataAdminBundle/pull/6134
TIA
There is now a allow_empty
option: https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1120
Feature Request
The current StringFilter/ChoiceType allows only allows
LIKE
,NOT LIKE
, andEQUALS
:https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/3.x/src/Filter/StringFilter.php
https://github.com/sonata-project/SonataAdminBundle/blob/3.x/src/Form/Type/Filter/ChoiceType.php
I'm wanting to filter by
I would have a go at implementing this, currently I'm extending the Sonata classes in my own bundle, but wondering if you'd like a PR and if so, have some questions:
Though?