Sort by Star Rating

Author Message

Sergi A

Thursday 21 January 2010 1:05:11 am

Hello,

i can't get a list of nodes sorted by a star rating attribute and i was wondering if is it possible to fetch them ordered by this kind of attribute.

Maybe there's something wrong with the code:

{set $children=fetch_alias( 'children', hash( 'parent_node_id', $node.node_id,
                             'offset', $view_parameters.offset,
                             'sort_by', array( 'attribute',true(),'allotjament/valoracio'),
                             'class_filter_type', 'exclude',
                             'class_filter_array', $classes,
                             'limit', $page_limit ) )}

Thanks!

Sergi A

Thursday 21 January 2010 3:23:45 am

Problem solved!

http://projects.ez.no/ezstarrating/forum/general/sortby_feature

Cheers!

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