Score:2

How to group taxonomy terms by depth in views?

de flag

my example taxonomy looks like this:

- fruit
 -- apple
 -- orange
 -- banana
- vegetable
 -- carrot
 -- cabbage

i want to render a page in views that groups level 1 terms by their parent term, The page should look like:

Friut
apple | orange | banana

Vegetable
carrot | cabbage

How can i do such grouping? Thanks!

de flag
Possible duplicate of https://drupal.stackexchange.com/questions/21459/how-to-show-terms-in-a-views-in-its-hierarchical-structure
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.