I am not sure if this is a bug or just a misunderstanding of the features on my part.
I have a block listing Tags which have been assigned to content. I have a built a 'Relationship' between the tags and the content. I am aiming to have all tags which have content assigned to them to be listed once (and for this to act as a filter for the content, using Isotope.js).
Rather than the tags: A,B,C,D,E,F,G being displayed I am getting A,A,A,B,B,B,C,C,C,D,D,D,E,E,E,F,F,F,F,F,G,G .
I have tried using the Distinct Query setting and turning on Aggregation, in every permutation I could find but neither reduces the duplication.
Reading through the issues queue I have read Distinct doesn't work on some occasions, is that the case? Some people have mentioned using PHP to remove the Duplicates, is that the best course of action?
Is there a way of using views 'Filter Criteria' to only produce unique (distinct?) tags.
I thought I should mention that some of my content has multiple tags, e.g. both A & D.
I can recreate the content, rebuild the tags and taxonomy or whatever is needed to fix this, just not sure what route to take, what to avoid, what to implement, or if the is a 'easy fix' to what is in place!
Comments
Comment #1
serg2 commentedI am still stuck with this and have no more ideas to try. I have tried using aggregation too but that does not help.
Here is an export of my view:
This produces a list of 'Tags' which have been applied to content.
For each piece of content that has a tag 'example1' I get 'example1' displayed that number of time, eg if 5 pices of content are tagged 'example1' , 'example1' is displayed 5 times. I am aiming to have each tag which has an associated piece of content to be listed once so it can be used as a filter.
Any ideas?
Comment #2
mustanggb commented