From 21994312daa042e0cfc1aea911d4811eb6909e8d Mon Sep 17 00:00:00 2001 From: Kurtas Date: Thu, 28 Apr 2016 16:26:43 +0200 Subject: [PATCH] fix #427 FIX [#427](https://github.com/AllenFang/react-bootstrap-table/issues/427) The filters doesn't work when the column contains null values --- src/store/TableDataStore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/TableDataStore.js b/src/store/TableDataStore.js index 2a211f96c..bd51fd3c2 100644 --- a/src/store/TableDataStore.js +++ b/src/store/TableDataStore.js @@ -208,6 +208,7 @@ export class TableDataStore { let filterVal; for (const key in filterObj) { let targetVal = row[key]; + if (targetVal === null) return false; switch (filterObj[key].type) { case Const.FILTER_TYPE.NUMBER: {