Author Topic

lynn patchett

Wednesday 16 November 2005 5:20:19 am

Comment44716

So answering to myself, I was leaving out the class name attribute of the sort attribute name:

{let recent=fetch( 'content', 'list', hash( 'parent_node_id', array(79,80,81,82,83,84,85,115), limit, 5, sort_by, array('attribute', false(), 'class2/date_released') ) ) }

which is fine, but i need to sort by the date released on all the classes included in the parent_node_id array, someting like this:

{let recent=fetch( 'content', 'list', hash( 'parent_node_id', array(79,80,81,82,83,84,85,115), limit, 5, sort_by, array('attribute', false(), array('class1/date_released','class2/date_released') ) ) }

or something like that. Anyone know if this is possible?

Thanks
Lynn