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(search): handle commas in search queries in the UI #4570

Conversation

gabe-lyons
Copy link
Contributor

Commas are special characters in our url params- they are used to separate array items. We need to escape them or our search query will be treated as an array

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

Unit Test Results (build & test)

  96 files  ±0    96 suites  ±0   12m 18s ⏱️ - 3m 43s
686 tests ±0  627 ✔️ ±0  59 💤 ±0  0 ±0 

Results for commit 20db307. ± Comparison against base commit df9e07f.

♻️ This comment has been updated with latest results.

@gabe-lyons gabe-lyons force-pushed the gabe--hanldeCommaInSearchQueries branch from 296240d to 13719e9 Compare April 4, 2022 20:18
@gabe-lyons gabe-lyons force-pushed the gabe--hanldeCommaInSearchQueries branch from 13719e9 to 20db307 Compare April 4, 2022 20:53
@dexter-mh-lee dexter-mh-lee merged commit ede6547 into datahub-project:master Apr 4, 2022
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
…ct#4570)

* handle commas in search queries

* encode/decode everything else
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.

2 participants