Developer forum

Forum » Swift » "Load more" button removes the search query

"Load more" button removes the search query

Tomas Gomez
Reply

Hi,

I have an issue with the "Load more" button on a new Swift 9.13.1 installation.

After a word search, when pressing the "Load more" button the word search is removed so unrelated products are shown. For instance, after searching for "bike", the query "q=bike" is added to the URL and 41 products are selected. When pressing "Load more" the query "q=bike" is removed from the URL and 108 products are selected.

See proof here: https://watch.screencastify.com/v/aikhqEQlq3ZATUJHxXKg

I cannot find any configuration or forum question to solve this issue. What am I missing?

Regards,
Tomas


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Tomas

Seems like you either have a buggy version or have made some changes - I do see a facet I do not regognize. The current Swift version does not have this issue.

http://swiftdemo.dynamicweb-cms.com/Default.aspx?ID=149&redirect=false&SearchLayout=field&q=bike

You can find the latest version here: https://github.com/dynamicweb/Swift

 
Tomas Gomez
Reply

Hi Nicolai,

I just installed a brand new Swift 1.6.1 with DW 9.13.1 to avoid confussions. Definitively it is a buggy version, see proof here https://watch.screencastify.com/v/KcXqxPytR5C4Yvh1scGQ

The problem is that we have this version in a production environment, so we need to update it with the minimum intervention. I've seen that the "Load more" button calls the function swift.ProductList.Update(event).

Which files should I update?

Regards,
Tomas

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I cannot tell you. 

 

You must be logged in to post in the forum