How to fetch related_object but not grouped

Author Message

Luc Chase

Thursday 05 July 2007 4:58:04 am

{def $related_objects = fetch( 'content', 'related_objects',  
        hash( 'object_id', $node.object.id, 
        'all_relations', true(), 
        'group_by_attribute', true(),
        'class_filter_type',  $class_filter_type,
        'class_filter_array', $class_filter_array,
        'sort_by', $sort_by ) )}

The above code returns a grouped list. I don't want it grouped (just sorted). I've tried to set 'group_by_attribute', false(), but that results in zero rows. What exactly does 'group_by_attribute', do and does it actually work?

The Web Application Service Provider

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.