fix log create variant

This commit is contained in:
merdan 2022-05-21 20:13:14 +05:00
parent fd0b447a7f
commit ea7f2d5963
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class ProductRepository extends WProductRepository
# this is key! if a product has been filtered down to the same number of attributes that we filtered on,
# we know that it has matched all of the requested filters.
$qb->groupBy('variants.id','variants.color');
$qb->groupBy('variants.id','variants.size');
$qb->havingRaw('COUNT(*) = ' . count($attributeFilters));
}