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

fix(Filter by text field with "&" symbol doesn't work #20271) #20420

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

chhedadhruv
Copy link

@chhedadhruv chhedadhruv commented Jun 2, 2024

What does it do?
Fixes a bug where filtering by text fields containing the "&" symbol fails due to improper encoding and decoding of query parameters.

Why is it needed?
Without this fix, users cannot correctly filter records by text fields containing special characters such as "&", which significantly hampers the usability of the filtering functionality.

How to test it?
Create an entity in a collection type with a text field containing the "&" symbol.
Example: Create an article titled "Test article & issue reproduce".
Go to the list of the collection type.
Use the "Filters" button to select the text field, "is" operand, and text with the "&" symbol.
Click "Add filter".
Verify that the filter is applied correctly and the appropriate records are displayed.

Related issue(s)/PR(s)
#20271

Copy link

vercel bot commented Jun 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2024 8:04am

@chhedadhruv chhedadhruv changed the title Fixes #20271 fix(Filter by text field with "&" symbol doesn't work #20271) Jun 5, 2024
@chhedadhruv chhedadhruv changed the title fix(Filter by text field with "&" symbol doesn't work #20271) fix(Filter by text field with "&" symbol doesn't work #20271 Jun 5, 2024
@chhedadhruv chhedadhruv changed the title fix(Filter by text field with "&" symbol doesn't work #20271 fix(Filter by text field with "&" symbol doesn't work) #20271 Jun 5, 2024
@chhedadhruv chhedadhruv changed the title fix(Filter by text field with "&" symbol doesn't work) #20271 fix(Filter by text field with "&" symbol doesn't work #20271) Jun 5, 2024
@chhedadhruv
Copy link
Author

@Marc-Roig @markkaylor can you please check this out

@chhedadhruv
Copy link
Author

@derrickmehaffy can you please check this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant