Describe the bug
I have a search results web part defined with a default sort (RefinableString124, which is also a user sort) and 2 additional user sorts (RefinableDate10 and RefinableDate11). The web part uses the Details List layout. When one of the user sort columns is clicked, the results sort into the correct order, but the up/down arrows are displayed in all 3 column headings, which is misleading. The up/down arrow should only appear on the column that was clicked, so the user can tell which column is being sorted.
To Reproduce
Detailed steps to reproduce the behavior:
Add a search results web part to the page and configure the search query.
Select the Details List layout.
Add a default sort and additional user sorts.
View the page.
Click one of the user sort column headings. Observe that the search query to SharePoint is correct - it's using the right field and the opposite sort order.
Observe that the up/down arrow appears in the heading of all columns that support user sort.
Expected behavior
The up/down arrow appears only on the column which was clicked for sorting.
Screenshots
Column configuration:
Initial view:
After clicking on "Document date" column heading:
Desktop (please complete the following information):
Version used 4.8.0.0
Describe the bug I have a search results web part defined with a default sort (RefinableString124, which is also a user sort) and 2 additional user sorts (RefinableDate10 and RefinableDate11). The web part uses the Details List layout. When one of the user sort columns is clicked, the results sort into the correct order, but the up/down arrows are displayed in all 3 column headings, which is misleading. The up/down arrow should only appear on the column that was clicked, so the user can tell which column is being sorted.
To Reproduce Detailed steps to reproduce the behavior:
Expected behavior The up/down arrow appears only on the column which was clicked for sorting.
Screenshots Column configuration:
Initial view:
After clicking on "Document date" column heading:
Desktop (please complete the following information):
Additional context