Score:1

Excluding some taxonomy terms from a view when grouped by taxonomy

gd flag

For node type 'people' I have tags A, B, C etc. Some people have multiple tags.

On my view I'm grouping them by taxonomy term and selecting A,B,C,D etc under 'Select terms from vocabulary People type' but I don't want to include E tag as a group on this page.

Nobody who is only E tag shows up, which is correct, and people who have E as one of their tags are there in their respective A,B,C tag groups, which is correct, but it also shows E tag as a group.

I don't want to specifically exclude E tag from my filter, as that gets rid of people tagged A,B,C.

How can I get E tag to stop showing as its own group?

Thank you!

in flag
If I remember correctly, grouping the results happens after the query returns the data and uses a field value to determine which group a row belongs. You can create add a field, and using its real/rewritten value, have it omit "E" when it sees it.
spiderfingers avatar
gd flag
Thank you so much! Yes I have the SQL code set to visible and it doesn't group at that stage. Would you be able to elaborate on where to add the field, and how to omit it please? I already have people type in my Fields section so as to be able to group by them.
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.