Hello, Add ->leftJoin('r.Translation t') in your query.
Bertrand Le 20 avr. 09 à 17:01, FlyLM [ML] a écrit : > When I run the request without specify the current culture, I can't > get any data with a ->getLabel() ou ->label > > [...] > $q = $this->createQuery('r') > ->where('r.room_type = ?') > ->andWhere('r.country_iso = ?'); > [...] > ->getLabel => print nothing > ->label => print nothing --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---