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

Search Results web part: Sort Panel not reset correctly when the keyword changed. #197

Closed
gunner13 opened this issue Apr 18, 2020 · 0 comments

Comments

@gunner13
Copy link
Contributor

gunner13 commented Apr 18, 2020

Version used
3.11.1 (3.11.0 does not have the issue)

Describe the bug
When we have only one property in the Sort List and this property exists in the Sortable Properties, typing in a new keyword into the search box (or clicking on a Vertical Tab) makes the search results updated and sorted by that only one property in the Sort List, but the Sort Panel still showing old column & direction.

To Reproduce
Steps to reproduce the behavior:

  1. Add a Search Box to a page.
  2. Add a Search Results to the same page, select the Details List layout. Connect it to the Search Box
  3. Add multiple managed properties (called column1, column2, column3 since now) to the Sortable Properties list (A->Z for all), add column1 (A->Z) as the only one item in the Sort Order list too.
  4. Fill in a keyword which returns multiple records, you will see the result are sorted by the column1 correctly, then select column2 from the Sort drop-down and change the direction to Z-A
  5. Type another keyword in the search box, the results are sorted in ascending order by column1 now but Sort Panel still shows column2 Z-A.

Expected behavior
Sort Panel should reflect the only one item in the Sort List whenever sorting reset and this only one item exists in Sortable Properties.

Desktop (please complete the following information):

  • Browser: Chrome (I did not test on other browsers)

04/26: Updated as it was wrongly described.

@gunner13 gunner13 changed the title Sort Panel not reset correctly when the keyword changed. Search Results web part: Sort Panel not reset correctly when the keyword changed. Apr 26, 2020
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

No branches or pull requests

2 participants