Sorting question

Author Message

Dariusz Wlodarczyk

Saturday 17 April 2004 11:07:12 am

I have content objects of different classes in one folder for example:
1. 10 files
2. 15 articles
3. and 4 images

In all classes I added attribute named creation_date (different than publish date of content object). It is possible to sort all objects in my folder by attribute creation_date ?

Gunnstein Lye

Monday 19 April 2004 7:34:29 am

http://ez.no/ez_publish/documentation/reference/data_fetching/content/list

Sorry, but no:
"Note that it is not possible to do attribute sorting for a collection of nodes that are of different types since each attribute is a unique entity."

Dariusz Wlodarczyk

Wednesday 21 April 2004 11:15:36 am

Ops i not found earlier this piece of documentation. So that is bad news for me :(

It is possible to add this functionality in feature versions of ezP or something like shared attributes (attributes common for all classes) ? I think this will be good enhancement to ezP functionality.

Gunnstein Lye

Thursday 22 April 2004 12:33:39 am

Everything is possible! If you need this, you should go to the bug report form and report it as a new suggestion.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.