I have a CT
product and a CT
factory. Products have an entity reference field pointing to factories. I use node translation on factories (en, fr, de) but products are not translated (en only).
Creating facet on the product's factory (entity reference field) and indexing works well but the problem is that the facet displays all translated versions of factories. e.g:
china factory in english (14) china factory in french (14) china factory in german (14) taiwan factory in english (6) taiwan factory in french (6) taiwan factory in german (6) EU factory in english (2) EU factory in french (2) EU factory in german (2)
Since the search page regards products which are only in english, I'd like to be able to remove the
de values from that facet, or even better, not allow them to be indexed at all.
I've tried the
facetapi_bonus module but its options for values exlusions doesn't suit me because I don't know the titles of the factories or their node ids beforehand.