Skip to content

Commit

Permalink
Fixed FilterString on bool columns, updated version.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegironi committed Jun 20, 2019
1 parent 2f02fe5 commit c0f53a0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AdvancedDataGridView/MenuStrip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ private void SetCheckListFilter()
if (DataType == typeof(DateTime) || DataType == typeof(TimeSpan))
FilterString += filter;
else if (DataType == typeof(bool))
FilterString += "{0}=" + filter;
FilterString += "[{0}] =" + filter;
else if (DataType == typeof(Int32) || DataType == typeof(Int64) || DataType == typeof(Int16) ||
DataType == typeof(UInt32) || DataType == typeof(UInt64) || DataType == typeof(UInt16) ||
DataType == typeof(Decimal) ||
Expand Down
Binary file modified AdvancedDataGridView/Properties/AssemblyInfo.cs
Binary file not shown.
Binary file modified AdvancedDataGridViewSample/Properties/AssemblyInfo.cs
Binary file not shown.
2 changes: 1 addition & 1 deletion _DevTools/AutoBuilder.config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $solutionName = "AdvancedDataGridView"
$versionMajor = "1"
$versionMinor = "1"
$versionBuild = GetVersionBuild
$versionRevision = "3"
$versionRevision = "4"
#build version number
$assemblyVersion = GetVersion $versionMajor $versionMinor $versionBuild $versionRevision
$fileVersion = $assemblyVersion
Expand Down

0 comments on commit c0f53a0

Please sign in to comment.