You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/08/09 20:54:49 UTC

[superset] 02/11: fix(native-filters): add support for boolean cols to select (#16061)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 1.3
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 310ddd3a5a8c0cf6e320d55a855e72752367ad53
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Wed Aug 4 21:05:55 2021 +0300

    fix(native-filters): add support for boolean cols to select (#16061)
    
    (cherry picked from commit 86cecaeec54fa2f4541fe86da742cbbc53e7fdf6)
---
 .../nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts
index 42c11e2..51a4a63 100644
--- a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts
+++ b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts
@@ -30,6 +30,7 @@ export const FILTER_SUPPORTED_TYPES = {
   filter_timegrain: [GenericDataType.TEMPORAL],
   filter_timecolumn: [GenericDataType.TEMPORAL],
   filter_select: [
+    GenericDataType.BOOLEAN,
     GenericDataType.STRING,
     GenericDataType.NUMERIC,
     GenericDataType.TEMPORAL,