diff --git a/superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts b/superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts index def35009c..f3584e1c7 100644 --- a/superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts +++ b/superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts @@ -173,6 +173,7 @@ const getExpectedResultFormData = (overrides: JsonObject = {}) => ({ subject: 'ds', comparator: 'Last month', filterOptionName: expect.any(String), + isExtra: true, }, { clause: 'WHERE', diff --git a/superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts b/superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts index 0fc32594b..9565b48dd 100644 --- a/superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts +++ b/superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts @@ -184,6 +184,7 @@ const applyTimeRangeFilters = ( return { ...filter, comparator: extraFormData.time_range, + isExtra: true, }; } return filter;