Affects Version/s: 126.96.36.199 DXP SP3, 7.3.10 DXP GA1
General description of expected behavior: When I search for a term in the page top search bar, I am redirected to the search page and my results are shown. Importantly, I expect that if I have added a Sort Widget to the page, the top sort option is applied on page load.
General description of observed behavior: To apply a Sort other than the default (relevance) I must select it from the Sort Widget.
Steps to Reproduce:
- Add a Sort widget to the search page and configure it so the Created option (field: createDate- is the first choice.
- Add three pieces of content, a minute apart. For example, blog posts like this:
- Title: First/Second/Third Blog Post
- Content: A blog post for sort testing
- Search for second blog.
Expected: Results are returned in order of relevance and "Relevance" is displayed as the selected sort. (If another configuration option's value is blank, that label will be displayed instead. If no configuration options are blank, a disabled "Relevance" option will be displayed).
Actual: Results are returned in order of relevance (second blog post is first in the list), but "Created Date" is displayed as the selected sort.
This may have simply been the way it was designed, for users to change the sort order after seeing the relevance-sorted results. But, it's still a perceived bug, because you'll see the Created option appearing in the Sort widget, while results are actually being returned by relevance.