Share » Forums » General » sort_by..

sort_by..

sort_by..

Monday 15 November 2010 5:56:05 am - 4 replies

Modified on Monday 15 November 2010 6:11:00 am by Lo' F.

Author Message

Gaetano Giunta

Monday 15 November 2010 6:11:15 am

- http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/list

Not really hard to find, imho... :-P

- $node.sort_array sorts the same way as the editor assigns in the admin interface, be it by date, name etc...

- True/False is used for sorting ascending or descending, as you guessed.

Principal Consultant International Business
Member of the Community Project Board

Lo' F.

Monday 15 November 2010 6:16:37 am

- http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/list

Not really hard to find, imho... :-P

..bloody hell! Didn't scroll that page down :)

Thank you so so so much!

.. about using published I am afraid the order can be altered if an old object is edited again. I need to set the order based on when they are inserted first time. The fetch retrieves all the objects tree from the current node down..

loredanaebook.it

Peter Keung

Monday 15 November 2010 7:52:04 am

.. about using published I am afraid the order can be altered if an old object is edited again. I need to set the order based on when they are inserted first time. The fetch retrieves all the objects tree from the current node down..

That should not be the case unless you have a workflow that manually updates the publish date.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Gaetano Giunta

Monday 15 November 2010 9:06:09 am

published = time of 1st publication

modified = time of last editing

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu