We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Statamic v3 - Collection ordering

Simon Plante October 2, 2020 by Simon Plante


On a new v3 website, I created a structured collection and set it as Orderable in order to be able to use the control panel reordering capabilities.

However, when I'm trying to display it using the {{ collection:something }}, it always seems to display it in alphabetical order.

I tried to follow my gut feeling w/ {{ collection:something sort="order" }} but it errors on Cannot sort a nested collection by order.

How can I display collection entries in an Antlers template so they're order as they are in the control panel?


>>>>>>> Unanswered <<<<<<<
4 Replies