0

I have a View of Field Collection fields. The Field Collection is composed of field 1and field 2. The Field Collection is associated, as a single field, to a content type. If I filter the View by a combination of values for field 1 and field 2, and I have established a relationship with the associated content type, I can filter combinations of values, which come as 2-tuples; for example: Music and Great Britain, Sports and USA, etc.

However, if the View is a view of the content type, of the nodes, I don't know how to group filters in such a way that I can look for the specific combinations above. If I put two filters, and search by Music and USA, I will retrieve results even if the correct value is the 2-tuple Music and Great Britain. The view filters in ALL the Field Collections instead of just looking in one each time.

How can achieve the result with a View of content (products)? Or the way is to do it with the Field Collections, as I have done?

1 Answer 1

1

I answered over in How to filter groups of paired values in Views which appears to be essentially the same question.

1
  • Yes, I repeated because nobody answered and I was afraid that I was not being clear enough in the formulation. It seems that the problem is related to the Require relationship condition in the Views UI Relationships section. Thank you very much for your help.
    – Cesar
    Commented Nov 24, 2015 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.