Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ascii_string fields ignored in searches #6699

Open
armellin opened this issue Jan 10, 2025 · 0 comments
Open

ascii_string fields ignored in searches #6699

armellin opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@armellin
Copy link

In our database, there are some fields of Doctrine type 'ascii_string'.

They are ignored in searches.

I believe that the problem is in src/Orm/EntityRepository inside the private method getSearchablePropertiesConfig() .

Line 294 is

$isTextProperty = \in_array($propertyDataType, ['string', 'text', 'citext', 'array', 'simple_array'], true);

but I think that it should be:

$isTextProperty = \in_array($propertyDataType, ['string', 'text', 'citext', 'array', 'simple_array', 'ascii_string'], true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants