From edd0b83760dfd9909cbfc9d28d7aa3f0b7225473 Mon Sep 17 00:00:00 2001 From: gustavnavar Date: Sat, 12 Aug 2023 18:05:10 +0200 Subject: [PATCH] Update package 4.0.6 --- GridBlazor/GridBlazor.csproj | 2 +- GridCore/GridCore.csproj | 2 +- GridMvc/GridMvc.csproj | 2 +- GridShared/Filtering/DefaultColumnFilter.cs | 3 +++ GridShared/GridShared.csproj | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/GridBlazor/GridBlazor.csproj b/GridBlazor/GridBlazor.csproj index c22dd34b..dbff367d 100644 --- a/GridBlazor/GridBlazor.csproj +++ b/GridBlazor/GridBlazor.csproj @@ -6,7 +6,7 @@ 11.0 True False - 4.0.5 + 4.0.6 GridBlazor Grid components for Blazor Grid components for Blazor diff --git a/GridCore/GridCore.csproj b/GridCore/GridCore.csproj index 46432083..700c5028 100644 --- a/GridCore/GridCore.csproj +++ b/GridCore/GridCore.csproj @@ -7,7 +7,7 @@ False GridCore GridCore - 6.0.4 + 6.0.6 GridCore Grid core component Grid core component diff --git a/GridMvc/GridMvc.csproj b/GridMvc/GridMvc.csproj index a3724d2f..d2d0a86a 100644 --- a/GridMvc/GridMvc.csproj +++ b/GridMvc/GridMvc.csproj @@ -8,7 +8,7 @@ False GridMvc GridMvcCore - 6.0.4 + 6.0.6 GridMvc ASP.NET MVC Grid component ASP.NET MVC Grid component diff --git a/GridShared/Filtering/DefaultColumnFilter.cs b/GridShared/Filtering/DefaultColumnFilter.cs index 477f7606..74a3fdf1 100644 --- a/GridShared/Filtering/DefaultColumnFilter.cs +++ b/GridShared/Filtering/DefaultColumnFilter.cs @@ -201,6 +201,9 @@ public string GetFilter(IEnumerable values) { if (value == ColumnFilterValue.Null) continue; + else if (value.FilterType != GridFilterType.IsNull && value.FilterType != GridFilterType.IsNotNull + && string.IsNullOrWhiteSpace(value.FilterValue)) + continue; string filterString = GetFilterString(value); if (!string.IsNullOrWhiteSpace(filterString)) diff --git a/GridShared/GridShared.csproj b/GridShared/GridShared.csproj index 420381e6..501d01ac 100644 --- a/GridShared/GridShared.csproj +++ b/GridShared/GridShared.csproj @@ -3,7 +3,7 @@ netstandard2.1;net5.0;net6.0;net7.0 11.0 - 6.0.0 + 6.0.6 GridShared Support library for GridBlazor and GridMvcCore component libraries Support library for GridBlazor and GridMvcCore component libraries