Urgent.News

What's breaking now, across thousands of outlets.

Tech

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.

Also reported by 1 other outlet

Read the original at dev.to →

More in Tech

I Gave an EC2 Instance Zero Internet and It Still Uploaded to S3

The challenge The client's requirement fit in one sentence: The private backend must talk to Amazon S3 without ever touching the public internet.

  • Private EC2 instance communicated with S3 without internet access
  • VPC Peering, route tables, security groups, IAM role, Gateway Endpoint used
  • Authentication via IAM roles, all traffic within AWS network

One Oxygen template, different page content

Two service pages can share an introduction strip and a contact section without sharing every sentence. In Oxygen 6, Template Content Area supplies the place where each page's own layout appears…

More from Saturday 17 October →