Forums / Setup & design / Sort By custom attribute

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Sort By custom attribute

Author Message

Martynas Bilevičius

Saturday 17 November 2007 4:32:52 am

Hello, i try sort by my created my attribute 'publish_date' where is i set date, and my function for generate sorted output:

{let name=Child children=fetch('content','list',hash('
            parent_node_id',$node.node_id,											    'sort_by', array( array('attribute', false(), 'publish_date' ), array('published', false()) ),
	    'limit',$page_limit,
	    'offset',$view_parameters.offset,												    'depth_operator',eq	)
	 )	
 }

But sort by attribute dont work.