Skip to content

adding Hint to query #96

@hattingen

Description

@hattingen

Hi,
I am trying to add a hint to the querybuilder to search in translatable fields.
So far I have:

		$qb->getQuery()->setHint(
			\Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER,
			'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker'
		);

        $table->setAdapter($this->getDbAdapter())
            ->setSource($qb)
            ->setParamAdapter($this->getRequest()->getPost())
        ;

It is ignored.

Where would be the best way to implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions