Share » Forums » Developer » sort_by path_string with strange results

sort_by path_string with strange results

sort_by path_string with strange results

Monday 18 January 2010 9:22:10 am - 1 reply

Author Message

Damien MARTIN

Tuesday 19 January 2010 2:41:44 am

Hi Philipp,

It looks like you have a mistake in your syntaxe :

{def $entries = fetch('content', 'list', hash(

 'parent_node_id', $node.node_id,

 'class_filter_type', 'include',

 'class_filter_array', array(64),

 'sort_by', array(array('path_string', true()))
))}

But it should be

{def $entries = fetch('content', 'list', hash(

 'parent_node_id', $node.node_id,

 'class_filter_type', 'include',

 'class_filter_array', array(64),

 'sort_by', array('path_string', true())
))}

You have two arrays for your sort_by.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu