Forum: Radiant CMS children sorting

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ff2c500b4f2690c6e60d580f6b3caf78?d=identicon&s=25 David Minor (Guest)
on 2007-05-17 19:50
(Received via mailing list)
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">
<div class="entry">
   <span class="date"><r:date /></span>
   <h3><r:link /></h3>
   <r:content />
   <p><r:if_content part="extended"><r:link
anchor="extended">more&#8230;</r:link></r:if_content></p>
</div>

changing to order="asc"  does not change the ordering of the
children.  what am I missing?
Ff2c500b4f2690c6e60d580f6b3caf78?d=identicon&s=25 David Minor (Guest)
on 2007-05-17 21:26
(Received via mailing list)
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
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-05-18 03:06
(Received via mailing list)
Yes, the default is published_at.

Sean
This topic is locked and can not be replied to.