Skip to content

Commit

Permalink
fix: Re-add filter-box time granularity/column (#20485)
Browse files Browse the repository at this point in the history
Co-authored-by: John Bodley <[email protected]>
(cherry picked from commit 661ab35)
  • Loading branch information
john-bodley authored and michael-s-molina committed Jun 28, 2022
1 parent bbca109 commit 25a6f02
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions superset-frontend/src/visualizations/FilterBox/controlPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
],
},
Expand Down

0 comments on commit 25a6f02

Please sign in to comment.