DDC-2630: Filters with joined inheritance #3364

doctrinebot opened this Issue Aug 22, 2013 · 1 comment

2 participants


Jira issue originally created by user fvilpoix:


I'm trying to use SQLFilter with a Joined Inheritance, and the sql Walker never applies filters on the sub-class, even if I make my SELECT on the sub-class or the root.

In the SqlWalker, the methods 'generateFilterConditionSQL' says :

// The classes in the inheritance will be added to the query one by one,
// but only the root node is getting filtered

I don't understand why, and I would like to know if there is any way to apply filters to subclasses in joined-inheritance.

Thanks a lot :)


Comment created by holtkamp:

Are you sure you apply the filter on the root Entity? This discussion might be usefull:

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment