Developer forum

Forum » Swift » Load More Products ruins sorting on product lists

Load More Products ruins sorting on product lists

Martin Ottesen
Martin Ottesen

Hi DW, 

We are experiencing with our solutions that the load more products in the product list ruins the sorting that we have done on our product lists.

Often we sort our product lists from the catalog, which I suppose is the right way to do it. But because it does not set a URL parameter the load more products button, places a URL parameter "SortBy=Relevance" which overwrites the predetermined sorting from the catalog.



Which then ruins the sorting done here:

I suppose this is the code that causes the issue.


Dynamicweb Employee
Jason Harwell

We are running into the same issue. Was there any solution? 



You must be logged in to post in the forum