Created on 21 October 2017, about 7 years ago
Updated 3 April 2024, 9 months ago

Is it possible to sort results randomly? For example if you wanted to grab a single node of a particular type at random?

Feature request
Status

Closed: works as designed

Version

10.0

Component
JSON API 

Last updated about 24 hours ago

Created by

🇨🇦Canada theshanergy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand davidwhthomas

    Just noting, another way to get a pseudo-random item is, if you get or know the total number of items, you can add a random page "offset" value within that item count to return random item from the set.

Production build 0.71.5 2024