Hi All,

This may be me having a dense moment, need a little bit of a point in the right direction. I need to do a "Group By" but show all the options. Example, I four nodes, each having a taxonomy term in the same vocab. There are three terms, Term A, Term B and Term C. Let us say the nodes are assigned thus:

Node 1 -> Term A
Node 2 -> Term B
Node 3 -> Term B
Node 4 -> Term A

I want to group them by term type, which is no problem, do the usual "Group By" and you get the result:

Term A
------
Node 1
Node 4

Term B
------
Node 2
Node 3

That is exactly what I would expect and after all these years I have never needed to show anything else. What I want is a section at bottom to show Term C - although there is nothing to show in that category.

Nick

Comments

nickbits created an issue. See original summary.

saurabh.dhariwal’s picture

For grouping all values by term type you need to create one view, please follow the step to create a view:

Step 1: Add your one field taxonomy term:name in "FIELDS" section.please tick the "Exclude from display " below label text.
Step 2: Give Relationship to taxonomy term:content with term and Place node in identifier in "Advanced".
Step 3: Add one field content:title.
Step 4: Add taxonomy vocabulary:Machine name(=Term) in "Filter criteria".

Let me know incase of any query/concern regarding the same.

renatog’s picture

Issue tags: +ciandt-contrib

Hi people.

Likes good Saurabh.

Thank you very much.

renatog’s picture

Status: Active » Fixed

Nick, please follow this steps for Group By.

If have any question please comment.

Thank you very much.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.