You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/05/11 20:29:52 UTC
[superset] branch hugh/fix-set-query created (now 7bb5115)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/fix-set-query
in repository https://gitbox.apache.org/repos/asf/superset.git.
at 7bb5115 send queryid up with setSQL
This branch includes the following new commits:
new 7bb5115 send queryid up with setSQL
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[superset] 01/01: send queryid up with setSQL
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-set-query
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 7bb5115fb23e8b936a5d3065037f78ba39df6a4b
Author: hughhhh <hu...@gmail.com>
AuthorDate: Tue May 11 16:28:21 2021 -0400
send queryid up with setSQL
---
superset-frontend/src/SqlLab/actions/sqlLab.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/SqlLab/actions/sqlLab.js b/superset-frontend/src/SqlLab/actions/sqlLab.js
index 95216b8..7d58f89 100644
--- a/superset-frontend/src/SqlLab/actions/sqlLab.js
+++ b/superset-frontend/src/SqlLab/actions/sqlLab.js
@@ -897,7 +897,7 @@ export function queryEditorSetSql(queryEditor, sql) {
const sync = isFeatureEnabled(FeatureFlag.SQLLAB_BACKEND_PERSISTENCE)
? SupersetClient.put({
endpoint: encodeURI(`/tabstateview/${queryEditor.id}`),
- postPayload: { sql },
+ postPayload: { sql, latest_query: queryEditor.latestQueryId },
})
: Promise.resolve();