Wednesday 21 September 2005 9:45:54 pm
I am using this code to get the instances of myclass that are pointing to an abject_id of 91. It seems to ignore the sort parameter. When I print the objects it displays the items in the same order regardless of setting the sort published to true or false. Is this the proper behavior? If so, how can I sort the results?
{def $objects=fetch( 'content', 'reverse_related_objects',
hash( 'object_id', 91,
'attribute_identifier', 'myclass/apointer',
'sort_by', array( 'published', true() )
) )}
|