Describe the bug
Filters are breaking when the same search results are returned in the search query. This is a behavior we see when using search input from query string parameters. We see the same issue when the same results are returned but with different ranking then the previous search. This is a issue when using synonyms with query modifiers. If we search within the same synonym set, the filters will also break.
To Reproduce
Detailed steps to reproduce the behavior:
Add a pnp search result web part on the SharePoint search page
Configure the input search parameter to use q in querystring
Add a pnp search filtering web part
Add file type as a filter
Configure the search results wp to use the filtering web part for filtering
Use the top search to search on any word. Ex. test
Use the top search to on the same search word. (test)
The file type filters will show "No values for this filter"
Expected behavior
The filters will show the same filters as previous search
Desktop (please complete the following information):
Browser Edge
Additional context
In addition to this issue, this bug will also cause other problems like searching on a word within the same synonym set using query modifiers.
Version used 4.8.0.0
Describe the bug Filters are breaking when the same search results are returned in the search query. This is a behavior we see when using search input from query string parameters. We see the same issue when the same results are returned but with different ranking then the previous search. This is a issue when using synonyms with query modifiers. If we search within the same synonym set, the filters will also break.
To Reproduce Detailed steps to reproduce the behavior:
Expected behavior The filters will show the same filters as previous search
Desktop (please complete the following information):
Additional context In addition to this issue, this bug will also cause other problems like searching on a word within the same synonym set using query modifiers.