Author Topic

Carlos Revillo

Friday 13 August 2010 4:09:23 am

Comment60735

sort_by has to be a unique array. i mean, you need to pass one only array with probably some others arrays. something like

{def $articles = fetch( 'content', 'list', hash( 'parent_node_id', array( '224', '63', '178' ), 
                                                   'sort_by', 
                                                             array( 
                                                              array( 'priority', false()), 
                                                               array( 'published', false()) 
                                                              )
 ) )}

Best.