Group by Taxonomy Term in Projection

Topics: Customizing Orchard, General
Nov 9, 2012 at 11:16 AM

I would like to be able to specify a Taxonomy term to group a query by when creating an unordered list from a Query.

For example: I have a Taxonomy with the following terms: FoodType (Cheese, Meat, Fish), and I have a Content Type called 'Food' with this Taxonomy as a field.

What I would like to do is to produce an unordered list projection which groups by the FoodType child term thus:

Cheese
    Cheddar
    Parmesan

Meat
    Bacon
    Sausage

Fish
    Cod
    Haddock 

I can't see a way to do this as it seems that only text based fields appear in the Group By drop down.

Jan 10, 2014 at 11:10 AM
I'd like to do this too, but the field is not shown in the UI. There is however a heading for that contenttype, but it doesn't show the field. So I think it might be a bug.