I have created a vocabulary named as "Forums",under this i have created 3 terms called as Lease,rent,sale forums. After that i have created 4 nodes like test,test1,test2,test3 under the above terms
Under Lease forum term,i have created 2 nodes,Under rent forum,sale forum .i have created a single node
After that i have created a view , in this view should display the three terms only,but it is displaying 4 terms means lease forum displaying two times,how to eliminate the duplicate term.
Please help us....

Comments

adnasa’s picture

perhaps a couple of your nodes holds 2 terms related when you created them
try to select distinct = yes in the basic settings of your view.

hope that helps

dawehner’s picture

You probably use the wrong field, use node: all terms instead of taxonomy:term. That field only returns one field with multiple entries.

kbthalla’s picture

First of all you can select Taxonomy: Term in fields list & Taxonomy: Vocabulary= select the category in filters list. so uisng the above conditions you can eliminate duplicates

couturier’s picture

Status: Active » Closed (works as designed)
xenosteel’s picture

#2 fixed the problem for me. I just created an account on Drupal to thank you for this important, yet very subtle piece of information that saved me a lot of time and confusion!

I had a very similar issue where I got duplicate results for just a simple view configuration. It got me baffled.

So in very basic terms, to solve my problem I had to edit the FILTER CRITERIA to change it from:

Content: Has Taxonomy Term [[TERM_NAME]]

to

Content: [[FIELD_NAME_OF_TAXONOMY_TERM]]

In my case it was previously "Content: Has Taxonomy Term Urgency", I changed it to "Content: Urgency"

Thanks again and I hope this fix and my example comes in handy for others.

Stagger Lee’s picture

Tried every tips possible and not one helped. Not one.

In my case was so simple as remove Pager limit. Put it to zero and all other settings obeyed. Pager limit is not needed for Entity/Term reference fields and, i dont know why, mess things.