core icon indicating copy to clipboard operation
core copied to clipboard

Add a way to configure default strategy mode for the SearchFilter

Open Simperfit opened this issue 1 year ago • 0 comments

Description

As of today, in order to not have the by default exact strategy for the search filter, we have to add a custom filter to change the strategy. This occurs if we want to enables all properties on the filter.

Example

Could we use an option in order to remove the on default behaviour and be able to pass a default behaviour that suit the application.

https://github.com/api-platform/core/blob/9c3faed721f357e2bb6e9bc65d155444b450e5b3/src/Doctrine/Orm/Filter/SearchFilter.php#L190

Simperfit avatar May 29 '24 14:05 Simperfit