Forums / Developer / Sorting by attribute (date / timestamp) / Comment51118
Ivo Lukac
Friday 08 May 2009 1:53:04 pm
Try it like this:
{def $nodes=fetch( 'content', 'list', hash( 'parent_node_id', 123, 'sort_by', array("attribute", false(),"article/publish_date"), 'depth',1, 'class_filter_type', 'include', 'class_filter_array', array( 'article' ) )) }
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac