Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix: Re-add filter-box time granularity/column (apache#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 John Bodley committed Jul 6, 2022
1 parent 24f77f1 commit 7e849fb
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 7e849fb

Please sign in to comment.