diff --git a/Circles.Index.Query/FilterPredicate.cs b/Circles.Index.Query/FilterPredicate.cs index 694f01d..0f67c84 100644 --- a/Circles.Index.Query/FilterPredicate.cs +++ b/Circles.Index.Query/FilterPredicate.cs @@ -48,7 +48,15 @@ private IEnumerable ConvertToEnumerable(object? value) { if (value is JsonElement jsonElement && jsonElement.ValueKind == JsonValueKind.Array) { - return jsonElement.EnumerateArray().Select(v => (object)v.ToString()); + return jsonElement.EnumerateArray().Select(v => + { + if (v.ValueKind == JsonValueKind.Number) + { + return v.GetDouble(); + } + + return (object)v.ToString(); + }); } if (value is IEnumerable e && value is not string) diff --git a/Circles.Index/Circles.Index.csproj b/Circles.Index/Circles.Index.csproj index 6561847..aa37664 100644 --- a/Circles.Index/Circles.Index.csproj +++ b/Circles.Index/Circles.Index.csproj @@ -8,8 +8,8 @@ Daniel Janz (Gnosis Service GmbH) Gnosis Service GmbH Circles - 1.11.1 - 1.11.1 + 1.11.2 + 1.11.2