1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-22 07:52:34 +00:00

Fixed: Custom filtering movies by year

Fixes #10610
This commit is contained in:
Bogdan 2024-10-28 07:49:55 +02:00
parent 0049ccd39f
commit 3708d58847

View file

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