Skip to content

Commit 4ccff3b

Browse files
committed
Merge remote-tracking branch 'origin/2.4-develop' into ACPT-99-2
2 parents d2ab7c9 + 65c71f2 commit 4ccff3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/AttributeOptionProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function getOptions(array $optionIds, ?int $storeId, array $attributeCode
110110

111111
if (!empty($attributeCodes)) {
112112
$select->orWhere(
113-
'a.attribute_code in (?) AND a.frontend_input = \'boolean\'',
113+
'a.attribute_code in (?) AND a.frontend_input in (\'boolean\', \'price\')',
114114
$attributeCodes
115115
);
116116
}

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchAggregationsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function testAggregationCustomPriceAttribute()
125125
$priceAggregation = array_filter(
126126
$result['products']['aggregations'],
127127
function ($a) {
128-
return $a['attribute_code'] == 'product_price_attribute_bucket';
128+
return $a['attribute_code'] == 'product_price_attribute';
129129
}
130130
);
131131
$this->assertNotEmpty($priceAggregation);

0 commit comments

Comments
 (0)