Dynamicweb Swift is a plug-and-play standard solution for Dynamicweb Ecommerce which allows you to create beautiful mobile-friendly Ecommerce websites with minimal effort and almost no coding with awesome performance, wcag support and much more...
Hi there,
When paging products, the default sorting for the next page is hard-coded to "Relevance". This causes issues when the default sort is overwritten on the module.
Steps to reproduce:
On the catalog module, set up sorting as follows:
Browse to the products page. The first 25 products or so are sorted correctly by creation date.
Click the Next page link.
Expected results
I get the next page of records with all products still sorted by creation date in descending order.
Actual results
The sorting is now off as it uses Relevance in the query string for the next page instead of "-created"
Hi there, When paging products, the default sorting for the next page is hard-coded to "Relevance". This causes issues when the default sort is overwritten on the module.
Steps to reproduce:
Browse to the products page. The first 25 products or so are sorted correctly by creation date.
Click the Next page link.
Expected results I get the next page of records with all products still sorted by creation date in descending order.
Actual results The sorting is now off as it uses Relevance in the query string for the next page instead of "-created"
/products?PageSize=42&SortBy=Relevance&RequestType=UpdateList