- Posts: 1184
- Thank you received: 13
Search filter displays reults in repeat
1 month 2 weeks ago #373013
by verzevoul
Search filter displays reults in repeat was created by verzevoul
-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6.1.2
Hi!
Search filter displays reults in repeat.
For example if you search the product code 4886 there should be 3 products in the search results page, instead it shows these 3 products multiple times (see screenshot).
Thank you
-- Joomla version -- : 6.1.2
Hi!
Search filter displays reults in repeat.
For example if you search the product code 4886 there should be 3 products in the search results page, instead it shows these 3 products multiple times (see screenshot).
Thank you
Please Log in or Create an account to join the conversation.
1 month 2 weeks ago #373016
by nicolas
Replied by nicolas on topic Search filter displays reults in repeat
Hi,
Thanks for the report, we could reproduce it and it is a bug on our side.
It comes from the "Infinite scroll" option of the listing on a site using search engine friendly URLs. Joomla renames the pagination parameter of the addresses it generates, from limitstart to start, and HikaShop was still reading the original name. So the page number of each block loaded while scrolling down was lost, the first page was sent back every time, and the script added it below the products already displayed. On the results of a search, where all the products fit on one page, that gives exactly what you see.
We fixed it: the page number is now read whatever the address format, and the block which loads the next page is only added when there are still products to load. Download the install package of HikaShop on our website and install it on yours in order to get the patches. It should then work properly on your website too.
Thanks for the report, we could reproduce it and it is a bug on our side.
It comes from the "Infinite scroll" option of the listing on a site using search engine friendly URLs. Joomla renames the pagination parameter of the addresses it generates, from limitstart to start, and HikaShop was still reading the original name. So the page number of each block loaded while scrolling down was lost, the first page was sent back every time, and the script added it below the products already displayed. On the results of a search, where all the products fit on one page, that gives exactly what you see.
We fixed it: the page number is now read whatever the address format, and the block which loads the next page is only added when there are still products to load. Download the install package of HikaShop on our website and install it on yours in order to get the patches. It should then work properly on your website too.
The following user(s) said Thank You: verzevoul
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds