public function onQueryReady(QueryEvent $event)
    {

        $query = $event->getQuery();

        $query->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, 'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker');
        $query->setHint(TranslatableListener::HINT_TRANSLATABLE_LOCALE, $this->locale);
        $query->setHint(TranslatableListener::HINT_FALLBACK, $this->fallback);
    }