This project is read-only.
1
Vote

Display order is not equal to order of IDs in list

description

I am using "Ids In filter" to list submenu items via a projection.
I am expecting that the display order of the items in the projections is equal to the order with in the comma-separated id list, but it is not.
A fix for this would be really helpful. Thanks!

comments

Piedone wrote Jun 19, 2013 at 7:54 PM

Sorry not to reply earlier, I forgot to turn issue notifications on...

I'm not sure if this is possible (querying on the value of delegate is tricky with IHqlQuery) but will take a look at it.

dpomt wrote Jan 16, 2014 at 11:16 PM

Just want to reuse "Ids in filter for another site and again remaining order would be good.
Any news on the Topic?
Thank you.

Piedone wrote Jan 16, 2014 at 11:45 PM

Nothing, sorry. There are two issues: this is not easy to do with HQL (but possible); the main problem is, however, that this is a filter provider and anything ordering-related should be handled from sort criteria.

Piedone wrote Mar 15, 2014 at 1:34 PM

I'm not even sure anymore whether this is possible: https://orchard.codeplex.com/discussions/538405

Piedone wrote May 6, 2014 at 9:19 PM

Unfortunately this seems not to be possible at the moment, the API doesn't allow it. There will be some changes in the Orchard data API in the next version so probably that will help.