Commit f4b09990 authored by Tommy Meier's avatar Tommy Meier
Browse files

Load the group

parent 29916927
......@@ -32,7 +32,7 @@ class ProductListingRouteDecorator extends AbstractProductListingRoute
SalesChannelContext $context,
Criteria $criteria
): ProductListingRouteResponse {
$criteria->addAssociation('properties');
$criteria->addAssociation('properties.group');
$criteria->getAssociation('properties')->addFilter(
new EqualsFilter('group.netiToolKitAttribute.displayInListing', true)
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment