From 118abdf812a31bfc78143658635224ac9c963a84 Mon Sep 17 00:00:00 2001 From: tappiola Date: Wed, 4 Aug 2021 18:06:30 +0100 Subject: [PATCH] #2991 - fix price range for wrong currency returned --- src/Model/Layer/Filter/Price.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Layer/Filter/Price.php b/src/Model/Layer/Filter/Price.php index f89781c..3ea83e9 100644 --- a/src/Model/Layer/Filter/Price.php +++ b/src/Model/Layer/Filter/Price.php @@ -94,7 +94,7 @@ public function build(AggregationInterface $aggregation, ?int $storeId): array // Builds graph-ql response $result['options'][] = $this->layerFormatter->buildItem( $priceRange['from'] . '~' . $priceRange['to'], - $metrics['value'], + $priceRange['from'] . '_' . $priceRange['to'], $metrics['count'] ); }