Developer forum

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

Load More Products ruins sorting on product lists

Martin Ottesen
Martin Ottesen
Reply

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.

So: https://goecker.dk/kameraer/mirrorless

becomes: https://goecker.dk/kameraer/mirrorless?PageSize=60&SortBy=Relevance&RequestType=UpdateList

Which then ruins the sorting done here:

I suppose this is the code that causes the issue.


Replies

 
Dynamicweb Employee
Jason Harwell
Reply

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

 

 

You must be logged in to post in the forum