Wednesday 26 April 2006 3:22:52 am - 2 replies
Łukasz Serwatka
Wednesday 26 April 2006 11:15:25 pm
The first element of the array must be the desired sorting method. The second element of the array must be the sorting direction, it can be either true() or false() - ascending or descending.
Try with:
{def $items=fetch( 'content', 'tree', hash( 'parent_node_id', $expandable_rootnode_id, 'sort_by', array( array( 'priority', false() ) ) ) )}
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Pascal France
Thursday 27 April 2006 12:18:29 am
Hi Lukasz,
It's the first syntaxe I tried according with the offcial doc, but it doesn't work too.The output is the same as yopu can see:
http://www.linuxorable.net/ez_publish/index.php/linuxorable
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
You must be logged in to post messages in this topic!