SOLVED: Infinite scroll + random = duplicate content

Bricks Version: 1.5
Browser: Versie 104.0.5112.105 (Officiële build) (64-bits)
OS: Google Chrome OS / Windows 10

I have a archive page with a “brand” card quering a custom post type built with Metabox.
When I set the scroll on infinite and the order on random I’m getting duplicate content. I would guess the system would be smart enough to know which content has already been loaded. Turning the random mode of fixes the problem. However I really do wish to show in random order, a same kind of issue seems to exist when switching to pagination.

Hi Annemijn,
Thanks so much for your report!

Please test again with Bricks 1.5.1, which will be available soon as a one-click update.
If the problem persists, please report it here :slight_smile:

Best regards,
timmse

This issue hasn’t been fixed in version 1.6.2. I’ve just encountered the exact same issue. See this screencast (the grid of restaurants is a query loop, configured as follows):

Screencast: Dropbox - dups.mov - Simplify your life

Hi Eric,
No work has been done on this report either, as we have not received any feedback. That is why the title has been set to “WAIT” for 5 months.

I tested it again with Bricks 1.7 and can confirm the issue still exists. However, this is not a Bricks problem per se, but a general problem that occurs with the “rand” order (you will find countless hits if you google for it).

As far as I can see, however, there also seems to be a solution to this. I’ve added it to the list.

Best regards,
timmse

Hi guys,
We’ve fixed the issue in Bricks 1.7.1, now available as a one-click update in your WordPress Dashboard.

Please take a look at this academy article, especially the “Random seed TTL” paragraph:

Please let us know if you are still experiencing issues.

Best regards,
timmse

Hi,

I still have the same issue on version 1.11.1.1 with this query configuration :

I tried manay “Order by” configurations like “rand + ID” or “rand + title”, tried with different seed TTL with no success.

I intentionnaly set the posts per page parameter to 3 in order to make the issue more visible.

Page link : https://proto.lorezo.re/produit/

Seems to be solved in 1.12 Beta.

1 Like

Hi @Drakking

Yes, it was a bug in 1.11.1.1

Solved in 1.12-beta