From 60dd3ae53eafd32123c64cbc86826e294c89acb1 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 3 Apr 2019 15:02:29 -0700 Subject: [PATCH] [filter_box] allow empty filters list in some cases, people want a time filter only on filter box, without specifying dimensions (filters), this allows that --- superset/assets/src/explore/controls.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx index c72348a091f4..2ccc0b8a6916 100644 --- a/superset/assets/src/explore/controls.jsx +++ b/superset/assets/src/explore/controls.jsx @@ -2382,7 +2382,7 @@ export const controls = { type: 'CollectionControl', label: 'Filters', description: t('Filter configuration for the filter box'), - validators: [v.nonEmpty], + validators: [], controlName: 'FilterBoxItemControl', mapStateToProps: ({ datasource }) => ({ datasource }), },