From 3708d58847d0ab89f3db285ee346483c9509deb1 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 28 Oct 2024 07:49:55 +0200 Subject: [PATCH] Fixed: Custom filtering movies by year Fixes #10610 --- frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js b/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js index a3f5a2211..6ae3c23f4 100644 --- a/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js +++ b/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js @@ -58,7 +58,7 @@ function getValue(input, selectedFilterBuilderProp) { if (selectedFilterBuilderProp.type === filterBuilderTypes.NUMBER) { const { numberFractionDigits = 0 } = selectedFilterBuilderProp; - return Number(input).toFixed(numberFractionDigits); + return Number(Number(input).toFixed(numberFractionDigits)); } return input;