l3pp4rd/DoctrineExtensions — Issue #200: Ignore default laguange in Translatable
Author: dv3000
Created: 2011-12-08 13:26:25+00:00
State: open

Hi, I wonder if there's any way not bring the default value of the entity?

For example, my "default_language" is: 'en_US' and I have my site also in "es_AR" but I have products only in English and other only in Spanish.

Using the hint:
$ query-> setHint (
\ Doctrine \ ORM \ Query:: HINT_CUSTOM_OUTPUT_WALKER,
'Gedmo \ \ Translatable \ \ Query \ \ TreeWalker \ \ TranslationWalker'
);

When making a query with this "hint" brings all the products and I just want those who are the selected language.

can you help?

sorry for my poor English