I have a site where for example I'm listing all nodes which are have the taxonomy value=dog. The node represents a pet and contains fields like pet's name, etc. Now I have a view that lists pet's field "name" if the node has the term "dog" - each node can only have one term associated with it - it can only be a dog or a cat.
I can of course (and this is what I have done so far) have a view that filters by Taxonomy name: "dog" but this would mean that I have to create a view for each type of animal - cat, parrot, etc.
What I would like is one view that does this for all animals, cat, dog, parrot, etc.
I thought I could use a relationship that would list all of the nodes based on which term is selected.
What I have done is added a relationship - Taxonomy: Node (called node) and then filter by Taxonomy: Term with all of the terms - dog, cat, parrot - with the (node) relation ship I created.
This instead of returning desired values returns a repetition or a parrot. I chose "reduce duplicates" but it keeps coming off.
I think I'm doing it right though not that sure as I've not used relationships before - if I take the relationship off it simply returns all dog, cat, parrot - with the relationship on it just goes wrong.
Is it a bug in view's relationships or is it just me misunderstanding something about it?
Any help would be much appreciated.
Pav
Comments
Comment #1
Ale.bcn commentedme too!
Comment #2
mustanggb commented