Closed LauLaman closed 4 years ago
Did you check the last comment of the link you posted? https://github.com/stwe/DatatablesBundle/pull/393#issuecomment-296384667
@Seb33300 Yes,
As I forgot to mention:
Also adding 'dql' => 'postalAddress.city'
to the options array will result in the same exception
I think you should prefix it with the table alias as indicated in the doctrine documentation.
'dql' => 'organization.postalAddress.city'
@Seb33300 yes that works. That wasn't clear to me from the doctrine documentation.
As for #393 support for Doctrine embeddables was introduces.
It looks like its no longer supported at version 1.0; the documentation doesn't mention it anywhere
My Setup
The datatable:
This error will be thrown:
\Doctrine\ORM\Query\QueryException