QueryBuilder Filter returns nothing

Hi,

I have this simple RealtionshipContraint in my filter querybuilder. The items of the relation is displayed correctly in the select, but if one item is select with "is" operator, it doesn't return anything.

To double check: It disabled / removed all other filters to avoid possible conflicts. But it still doesn't work:
                QueryBuilder::make()
                    ->constraints([
                        QueryBuilder\Constraints\TextConstraint::make('customer.name'),
                        QueryBuilder\Constraints\RelationshipConstraint::make('article')
                            ->emptyable()
                            ->selectable(QueryBuilder\Constraints\RelationshipConstraint\Operators\IsRelatedToOperator::make()
                                ->titleAttribute('title'))]),


"is empty" and "is not empty" works.

The relationship itself works too, when it is used in other filters or fields.

Can anyone help?
Was this page helpful?