Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11873

Sort by broken in 3.10 after upgrade

    XMLWordPrintable

Details

    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() ) )
            		) 
             )}
      
      

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            feb52ca2-9206-4fa9-818f-2c4dcf3f42b0@accounts.ibexa.co Douglas Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: