Fixed: Custom filtering movies by year

Fixes #10610
pull/9820/merge
Bogdan 2 weeks ago
parent 0049ccd39f
commit 3708d58847

@ -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;

Loading…
Cancel
Save