This path will be to filter the node by language.
Problem:
If the node with entity reference field is not translatable, we have a possible to add any content to this field. And if we setup the render entity display, all nodes wiil be showed to the page, so it is not correct
Solution:
This tiny patch will be to filtered the nodes by language parameters, Only natural language and current language will be displayed.
P.S. Idia of solution is no bad by this link , but it doesn't work at this moment. I think they can be combined, bit later
Comments
Comment #1
spheresh CreditAttribution: spheresh commentedComment #3
spheresh CreditAttribution: spheresh commentedComment #4
spheresh CreditAttribution: spheresh commentedComment #5
spheresh CreditAttribution: spheresh commentedComment #6
spheresh CreditAttribution: spheresh commentedComment #7
Chris Matthews CreditAttribution: Chris Matthews commentedThe 5 year old patch in #6 to entityreference.module does not apply to the latest 7.x-1.x-dev and if still relevant needs a reroll.