Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All

      Description

      Hello,

      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

        Activity

        Hide
        Menno Holtkamp added a comment -

        Are you sure you apply the filter on the root Entity? This discussion might be usefull:
        https://groups.google.com/forum/#!topic/doctrine-user/e1cPZOorfaQ

        Show
        Menno Holtkamp added a comment - Are you sure you apply the filter on the root Entity? This discussion might be usefull: https://groups.google.com/forum/#!topic/doctrine-user/e1cPZOorfaQ

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Florian Vilpoix
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: