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 <john.bodley@airbnb.com>
(cherry picked from commit 661ab35)
  • Loading branch information
john-bodley authored and John Bodley committed Jun 23, 2022
1 parent e51fe45 commit 2864f2d
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 2864f2d

Please sign in to comment.