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

Ampersand "&" in the search query is causing issue #1096

Closed
SaratchandraPeddinti opened this issue Jun 22, 2021 · 2 comments
Closed

Ampersand "&" in the search query is causing issue #1096

SaratchandraPeddinti opened this issue Jun 22, 2021 · 2 comments
Labels
bug Something isn't working v3 version 3

Comments

@SaratchandraPeddinti
Copy link

My search box webpart is configured to refresh the URL parameters of the page environment when user keys in search query & hits on the search button.

Issue: However, when the user searches for any search query consisting of the "Ampersand" is resulting in inaccurate search results as the Search Results webpart is not omitting any text after the ampersand symbol.

E.g.: I enter "Test_value1 & Test_value2" in the search box & hit on search, it only searches for "Test_value1 " and omits the rest of the value. I tried with URL encoding of the ampersand, it didn't work either. Please help me with this.

Thanks in advance.

@wobba wobba added bug Something isn't working v3 version 3 v4 version 4 labels Jun 24, 2021
Laul0 added a commit to Laul0/pnp-modern-search that referenced this issue Jun 28, 2021
@FranckyC
Copy link
Collaborator

FranckyC commented Jul 1, 2021

Hi @SaratchandraPeddinti , this should be resolved by @Laul0 PR. Can you try it using the develop branch and confirm?

@FranckyC FranckyC closed this as completed Jul 5, 2021
@camel028
Copy link

Hi @Laul0 , @SaratchandraPeddinti , could you please make a fix for version 3 as well?

Many thanks!

@wobba wobba removed the v4 version 4 label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 version 3
Projects
None yet
Development

No branches or pull requests

4 participants