This project is read-only.

Query, order by custom field breaks query

Topics: Core, General, Troubleshooting
Sep 5, 2012 at 4:12 PM

I create a query with filter "Content with type User" and add the following layout:

Display mode: content
Display type: Summary (also tried it with Detail)
Properties: Added a custom field and selected "Exclude from display"
Grouping property: Selected the field above
Order: Unordered list (also tried with ordered list)

When I use this query, my users get grouped the way I want them too, that works fine.

But now I also want to order my users, first by the group and then by the name. But as soon as I add a Sort Criterion with a Profile Part Content Field (I use the Profile Module), my query breaks and I get 0 results.

Is this a bug in Orchard or am I doing something wrong?

Sep 12, 2012 at 11:02 PM

It looks like a bug, yes. Please file it. Looks very much like this one:

Sep 26, 2012 at 2:26 PM

Ok, thanks. I filed the bug here now: