Skip to content

Commit aa32513

Browse files
committed
Fix for Indexer created for websites excluded in Customer groups
1 parent 7611eff commit aa32513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ protected function getAttributesForFaceting($storeId)
11701170
$groupId = (int)$group->getData('customer_group_id');
11711171
$excludedWebsites = $this->groupExcludedWebsiteRepository->getCustomerGroupExcludedWebsites($groupId);
11721172
if (in_array($websiteId, $excludedWebsites)) {
1173-
$group->delete();
1173+
continue;
11741174
}
11751175
$attributesForFaceting[] = 'price.' . $currency_code . '.group_' . $group_id;
11761176
}

0 commit comments

Comments
 (0)