This project is read-only.


Order by custom field breaks query


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.

See my thread (, they told me to file a bug.


hkui wrote Sep 27, 2012 at 11:44 AM

Yeah this is weird. We also experienced this. Now we are left with a broken page; it doesn't display the users the way we want to.

sebastienros wrote Oct 2, 2012 at 7:51 PM

Fixed in changeset a9a1312e2fa1

sfmskywalker wrote Mar 28, 2014 at 1:28 AM

Fixed in changeset b57793d89009e94bb37fc3f78bc254624938eede

hkui wrote Mar 28, 2014 at 7:08 AM

sfmskywalker: Where can i view that changeset?

AimOrchard wrote Mar 28, 2014 at 8:18 AM

@hkui What I always do is click (on the codeplex page) @ SOURCE CODE
Then click the "as of commit X" link.
Then at the address bar, replace the last bit (everything after the last /) with the changeset.

In this case, it would become: