I have the following taxonomy hierarchy:
Vocabulary Name: Activities
Activities
|
|-- Sports
|-- Badminton
|-- Swimming
|-- Tennis
|
|-- Dances
|-- Salsa
|-- Latin
|-- Waltz
A user can belong to any number of activities, but within one group (either Sports or Dance).
I have tried the Group By taxonomy, but the result is:
Badminton
User1
Badminton, Swimming
User2
Waltz
User3
User4
Waltz, Salsa
User5
Waltz, Salsa, Latin
User6
I would like the final View to be like this:
Sports
User1 (Badminton)
User2 (Badminton, Swimming)
Dance
User3 (Waltz)
User4 (Waltz)
User5 (Waltz, Salsa)
User6 (Waltz, Salsa, Latin)
How do I construct such a View?
Thank You in advance.
Comments
Comment #1
merlinofchaos commentedI can't think of a way to do that with Views and taxonomy hierarchy.
Comment #2
esmerel commentedComment #3
MBroberg commentedYou can use this patch to show only 1st-level terms and then group by that field.
http://drupal.org/node/769136