Fixed count missing parameter suffix
[MAILPOET-3953]
This commit is contained in:
committed by
Veljko V
parent
831772506b
commit
02fc0df655
@@ -59,8 +59,8 @@ class WooCommerceCategory implements Filter {
|
||||
$this->applyTermRelationshipsJoin($queryBuilder);
|
||||
$this->applyTermTaxonomyJoin($queryBuilder, $parameterSuffix)
|
||||
->groupBy("{$subscribersTable}.id, items.order_id")
|
||||
->having('COUNT(items.order_id) = :count')
|
||||
->setParameter('count', count($categoryIds));
|
||||
->having('COUNT(items.order_id) = :count_' . $parameterSuffix)
|
||||
->setParameter('count_' . $parameterSuffix, count($categoryIds));
|
||||
|
||||
} elseif ($operator === DynamicSegmentFilterData::OPERATOR_NONE) {
|
||||
$this->applyPostmetaJoin($queryBuilder, $subscribersTable);
|
||||
|
Reference in New Issue
Block a user