From 127aaac8ff59f506653c44393683b47e71ec7bb3 Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Wed, 1 Apr 2020 11:03:13 -0700 Subject: [PATCH] feat: change default time range in sql lab explore 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 260c93366a88..2e8746448cd9 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, };