1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-29 23:22:39 +01: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) { if (selectedFilterBuilderProp.type === filterBuilderTypes.NUMBER) {
const { numberFractionDigits = 0 } = selectedFilterBuilderProp; const { numberFractionDigits = 0 } = selectedFilterBuilderProp;
return Number(input).toFixed(numberFractionDigits); return Number(Number(input).toFixed(numberFractionDigits));
} }
return input; return input;