Skip to content

Commit

Permalink
Merge pull request #3141 from rbayet/fix-3134-typo-in-decimal-layer-f…
Browse files Browse the repository at this point in the history
…ilter

Fixes #3134 [Catalog] Typo in decimal layered navigation filter
  • Loading branch information
rbayet authored Dec 19, 2023
2 parents a6378b5 + 24bbb93 commit 82ed020
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private function formatValue($value)
if ((int) $attribute->getDisplayPrecision() > 0) {
$locale = $this->localeResolver->getLocale();
$options = ['locale' => $locale, 'precision' => (int) $attribute->getDisplayPrecision()];
$valueFormatter = new \Magento\Framework\Filter\LocalizedToNormalized($options);
$valueFormatter = new \Magento\Framework\Filter\NormalizedToLocalized($options);
$value = $valueFormatter->filter($value);
}

Expand Down

0 comments on commit 82ed020

Please sign in to comment.