Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
3.10.0
-
None
-
Operating System: Ubumtu 6.1
PHP Version: 4.4.3
Database and version: postgresql
Browser (and version):
Description
Sort by on attributes using fetch content list does not work.
The problem is in ezcontentobjecttreenode.php.
It does not include the sorted fields in the select portion of the sql.
Steps to reproduce
{include uri='design:events/events.tpl' events=fetch( content, list, hash( parent_node_id, 78, 'limit', 10, 'class_filter_type', 'include', 'class_filter_array', array( 'event' ), 'sort_by', array( 'attribute', true(), 'event/date_time' ), 'attribute_filter', array( array( 'event/date_time', '>=', currentdate() ) ) ) )}