Skip to content

Filter by Embedded Doctrine Type #4245

@wizhippo

Description

@wizhippo

Add the ability to filter by an embedded Doctrine type

    /**
     *
     * @ORM\Embedded(class="Address", columnPrefix="p")
     *
     * @var \App\Entity\Address
     */
    private $primaryAddress;
$filters
            ->add('primaryAddress.address1')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions