Why page 2 repeats the same posts in an Oxygen loop
A pagination link can change the URL while leaving the cards exactly as they were. That happened in a private Oxygen 6.2.0-beta.9 test: a static Text query returned six posts on page 1, and clicking page 2 repeated those same six posts. Switching that example to Custom → Edit Query returned the correct seventh post. Here is the small test and the settings used, so you can check the result in your…
When a pagination link alters the URL without changing the displayed cards, a peculiar issue arises on page 2 of an Oxygen 6.2.0-beta.9 test. Despite the URL change, the same posts persist on page 2, as demonstrated in a private test. By creating seven posts in a private category and binding a Component to the card, the issue became apparent.
The Component, which pulls its data from a Custom query, displayed six posts on page 1 but repeated those same posts on page 2. This behavior was confirmed by the identical Read guide URLs across the two pages, indicating the query was stuck on the first six posts. To verify the problem, a test was conducted with an empty category, and indeed, a "No guides in this category yet" message appeared, devoid of any cards or pagination links.
The layout was tested at various breakpoints, ensuring responsiveness and preventing horizontal scrolling at phone widths. This workaround is specific to the tested fixture and Oxygen version, not a universal fix for all custom queries or Oxygen releases.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.