Children sorting

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”>


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

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

it eventually hit me.


Yes, the default is published_at.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs