Skip to content

Commit

Permalink
[filter_box] allow empty filters list (#7220) (#7244)
Browse files Browse the repository at this point in the history
in some cases, people want a time filter only on filter box, without
specifying dimensions (filters), this allows that

(cherry picked from commit e39b169)
(cherry picked from commit 5ef2712)
  • Loading branch information
michellethomas committed Apr 8, 2019
1 parent 2ab07a0 commit dd8c2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2311,7 +2311,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 }),
},
Expand Down

0 comments on commit dd8c2db

Please sign in to comment.