I have 2 types of contents, Shop and Products, both types of contents have field translation. I have entity reference field relation Products to Shop, "field_shop" in Products, I create 3 Shops w/o been translated and I create 1 Product and I related this product to the 3 Shops and I translate the product.
I created 1 view bringing just the products, when i go to language 1, i get the product in language 1, then i go to language 2 and I get the the product in language 2.
I want to bring the Shop title in each Product. In Advanced View, I create a relationship with the "Entity Reference: field_shop", here i get 6 products in the language 1, when i go to language 2 i get 6 products in the language 2.
I just want to bring 3 products, 1 per Shop filtered by language
Anyone can help me ?
Comments
Comment #2
RobertoGuzman CreditAttribution: RobertoGuzman commentedComment #3
tammo CreditAttribution: tammo as a volunteer commented1 year and 3 days later: did you succceed in solving this? I run into a similar case.... Do you somehow need to specify the language when referencing another entity?
Thanks in advance,
Tammo
Comment #4
RobertoGuzman CreditAttribution: RobertoGuzman commentedview, other, Query settings, check "Distinct" option