You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by aa...@apache.org on 2022/12/02 21:57:33 UTC

[superset] 01/01: add columns back into query

This is an automated email from the ASF dual-hosted git repository.

aafghahi pushed a commit to branch arash.afghahi/sc-62358/chart-in-explore-columns-are-missing-from
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 94565866c363c69cd96d5f38e95c00cc234685b1
Author: AAfghahi <ar...@gmail.com>
AuthorDate: Fri Dec 2 14:57:05 2022 -0700

    add columns back into query
---
 superset-frontend/src/SqlLab/components/SaveQuery/index.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx b/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
index f05c008189..3fea5f1487 100644
--- a/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
+++ b/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
@@ -87,6 +87,7 @@ const SaveQuery = ({
   const query = useMemo(
     () => ({
       ...queryEditor,
+      columns: columns,
     }),
     [queryEditor, columns],
   );