Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
6.x-2.2
Component:
Views Data
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 22:19 UTC
Updated:
22 Oct 2013 at 19:24 UTC
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
Comment #1
adnasa commentedperhaps 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
Comment #2
dawehnerYou probably use the wrong field, use node: all terms instead of taxonomy:term. That field only returns one field with multiple entries.
Comment #3
kbthalla commentedFirst 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
Comment #4
couturier commentedComment #5
xenosteel commented#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.
Comment #6
Stagger Lee commentedTried 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.