fix log create variant
This commit is contained in:
parent
fd0b447a7f
commit
ea7f2d5963
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue