You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2022/06/23 19:42:50 UTC
[superset] branch master updated: fix: Re-add filter-box time granularity/column (#20485)
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 661ab35bd0 fix: Re-add filter-box time granularity/column (#20485)
661ab35bd0 is described below
commit 661ab35bd07b22defe45c112f5e5230929b27681
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Thu Jun 23 12:42:40 2022 -0700
fix: Re-add filter-box time granularity/column (#20485)
Co-authored-by: John Bodley <jo...@airbnb.com>
---
.../src/visualizations/FilterBox/controlPanel.jsx | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/superset-frontend/src/visualizations/FilterBox/controlPanel.jsx b/superset-frontend/src/visualizations/FilterBox/controlPanel.jsx
index 29906843da..8e76c9d828 100644
--- a/superset-frontend/src/visualizations/FilterBox/controlPanel.jsx
+++ b/superset-frontend/src/visualizations/FilterBox/controlPanel.jsx
@@ -66,6 +66,28 @@ export default {
},
},
],
+ [
+ {
+ name: 'show_sqla_time_granularity',
+ config: {
+ type: 'CheckboxControl',
+ label: t('Show time grain dropdown'),
+ default: false,
+ description: t('Check to include time grain dropdown'),
+ },
+ },
+ ],
+ [
+ {
+ name: 'show_sqla_time_column',
+ config: {
+ type: 'CheckboxControl',
+ label: t('Show time column'),
+ default: false,
+ description: t('Check to include time column dropdown'),
+ },
+ },
+ ],
['adhoc_filters'],
],
},