Closed thunder87 closed 1 month ago
Hi, thanks for reaching out! This is expected behaviour.
By default, entries are ordered by postDate DESC, elements.id DESC
. For your entries endpoint, you can provide your own order via criteria
> orderBy
.
There’s also the fixedOrder
option, which might be helpful if you’re querying by ids: https://craftcms.com/docs/4.x/entries.html#fixedorder.
I hope this helps!
Description
Unable to order entries based on the order the slugs are received.
Steps to reproduce
Additional info