Skip to content

Querying is not working as the documentation says #94

@johnkrovitch

Description

@johnkrovitch

The following code does not work :

        $queryBuilder = $this->finder->createFamilyBuilder('Publication');
        $visibleAttribute = $this->finder->getFamily('PublishedPublication')->getAttribute('visible');
        $queryBuilder->apply(
            $queryBuilder
                ->a('publishedPublications')
                ->join()
                ->attribute($visibleAttribute)
                ->equals(true)
        );

But the documentation says it is the way to join a value from another table. The EAV throws an error : "Unknown column 'a1_.attribute_code' in 'on clause'". It try to fetch the attribute code from the values table which does not exists.

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