From 36cd5411d0dce975fff827cb83c8a7a6709f72c1 Mon Sep 17 00:00:00 2001 From: Jianchao Yang Date: Wed, 8 Apr 2020 17:39:14 -0700 Subject: [PATCH] feat: change default time range in sql lab explore (#9486) Change from "100 years go" to "no filter". 100 years ago is basically equivalent to no filter, but has implications on how x-axis is plotted on certain charts (e.g. Big Number). --- .../src/SqlLab/components/ExploreResultsButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/SqlLab/components/ExploreResultsButton.jsx b/superset-frontend/src/SqlLab/components/ExploreResultsButton.jsx index 260c93366..2e8746448 100644 --- a/superset-frontend/src/SqlLab/components/ExploreResultsButton.jsx +++ b/superset-frontend/src/SqlLab/components/ExploreResultsButton.jsx @@ -139,8 +139,8 @@ class ExploreResultsButton extends React.PureComponent { datasource: `${data.table_id}__table`, metrics: [], groupby: [], + time_range: 'No filter', viz_type: 'table', - since: '100 years ago', all_columns: columns.map(c => c.name), row_limit: 1000, };