You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a string filter if I define a "form_options.type", this type is ignored and the default value "contains" is used.
In Sylius\Bundle\GridBundle\Form\Type\Filter\StringFilterType class, the field "type" is added only if $options['type'] is not set.
You should add an HiddenType field "type" with the value defined in "form_options.type".
Currently, if we define a "form_options.type", all the requests are executed with a "LIKE '%%'".
Thx.
The text was updated successfully, but these errors were encountered:
Hi,
On a string filter if I define a "form_options.type", this type is ignored and the default value "contains" is used.
In
Sylius\Bundle\GridBundle\Form\Type\Filter\StringFilterType
class, the field "type" is added only if$options['type']
is not set.You should add an HiddenType field "type" with the value defined in "form_options.type".
Currently, if we define a "form_options.type", all the requests are executed with a "LIKE '%%'".
Thx.
The text was updated successfully, but these errors were encountered: