Forums / Setup & design / Values of the "Sort on attribute" field

"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".

Values of the "Sort on attribute" field

Author Message

Pascal France

Wednesday 04 January 2006 3:01:11 pm

Hi,

When we create the <i>node_list</i> tool there is a field <i>Sort on attribute</i> we have to fill in
By default the value is <i>published</i>

Where can I find the other possible values ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Bruce Morrison

Wednesday 04 January 2006 3:13:27 pm

Hi Pascal

You can use any of the sort values from the content list and content tree template fetch functions:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/list

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Michael Zwyssig

Wednesday 14 November 2007 5:28:41 am

Hi,

I was wondering... is it possible to sort by "inversed-priority" in this menu ? How can I do that ?

Thanks

m

Pascal France

Wednesday 14 November 2007 5:30:09 pm

Hi Michael

You have to add true() or false() options.
Have a look to the examples on this page:

http://ez.no/doc/ez_publish/technical_manual/3_9/reference/modules/content/fetch_functions/list#eztoc64251_0_0_1

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish