How can I combine Multifilter and NotFilter for $criteria->addFilter?
This doesn’t work:
$criteria->addFilter(
new MultiFilter(
Multifilter::CONNECTION_OR,
[
new PrefixFilter('product.properties.name', 'Name1')
]
),
new NotFilter(
NotFilter::CONNECTION_OR,
[
new EqualsFilter('product.properties.group.name', 'Groupname1')
]
),
);