Children sorting


#1

Here’s the code I’m using. I’m pretty confident this was radiant
created code during setup:

<r:children:each limit=“5” order=“desc”>

more…

changing to order=“asc” does not change the ordering of the
children. what am I missing?


#2

what I needed was to specify the by=“attribute” to set the children
to sort by the created_at date.

it eventually hit me.

dm


#3

Yes, the default is published_at.

Sean