From fe08d2ddaef25b7c763ca6961b32fd0eaac52e1f Mon Sep 17 00:00:00 2001
From: dtheinert <dietmar.theinert@pta.de>
Date: Mon, 12 Oct 2020 07:48:13 +0200
Subject: [PATCH] [SI-2944] - correct filter handling so empty cell values will
 also be found

Signed-off-by: dtheinert <dietmar.theinert@pta.de>
---
 .../ag-grid/fuzzy-set-filter/fuzzy-set-filter.component.ts      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/fuzzy-set-filter/fuzzy-set-filter.component.ts b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/fuzzy-set-filter/fuzzy-set-filter.component.ts
index 325a7bc4..219e2aa5 100644
--- a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/fuzzy-set-filter/fuzzy-set-filter.component.ts
+++ b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/fuzzy-set-filter/fuzzy-set-filter.component.ts
@@ -34,7 +34,7 @@ export class FuzzySetFilterComponent extends SetFilterComponent {
       } else {
         // is numeric or null
         if (!nodeValue) {
-          passed = nodeValue === null && itemKey === 'null';
+          passed = (nodeValue === null || nodeValue === '') && itemKey === 'null';
         } else {
           passed = nodeValue.toString() === itemKey;
         }
-- 
GitLab