0

I want to use my dyscriminator field in a datagrid filter and when i us this i have the error : [Semantical Error] line 0, col 83 near 'type LIKE :t': Error: Class Djoo\MyBundle\Entity\Structure has no field or association named type

Have you an idea ? Thanks

Matteo
  • 37,680
  • 11
  • 100
  • 115

1 Answers1

0

I don't think doctrine will let you do that.

You can get discrimator value through metadata: link

But try using doctrine_orm_class to filter object by their class: link

Community
  • 1
  • 1
tiriana
  • 668
  • 1
  • 7
  • 24