This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Extensions » eZ Find » ezfind sorting by state

ezfind sorting by state

ezfind sorting by state

Thursday 06 May 2010 12:12:27 pm - 2 replies


Is it possible to sort ezfind results by object state?
In the documentation 2.0, the sorting options are relevance,score,class, modified,publihed, author,class_name,class_id,name,path,section_id, but "state" is no included as an option.


Modified on Thursday 06 May 2010 12:49:11 pm by VĂ­ctor Aranda Iglesias

Friday 07 May 2010 7:50:41 pm

Indeed, the main reason is that object states are multivalued if you have several object state groups.

To make it sortable, the object states should be indexed into a field per group.

And the, on what do you want to sort: ID or identifier?


Wednesday 29 June 2011 2:37:29 pm


In the same type of question : How is it possible to select content with ezfind filtered on state id ?

Even if there is multiple state groups, a given content always have only one state ID per group.

How can ezfind be modified to handle such constraint ?


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

36 542 Users on board!

Forums menu

Proudly Developed with from