This is an automated email from the ASF dual-hosted git repository. christine pushed a commit to branch release--0.31 in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit b4cbe13d22708b7c52de001db1d311a527b7fc71 Author: Kim Truong <[email protected]> AuthorDate: Wed Feb 27 21:00:56 2019 -0800 VIZ-190 fix (#6958) (cherry picked from commit 50264011719b2508d1246d2b2ad3485053a697b4) --- superset/assets/src/chart/chartAction.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset/assets/src/chart/chartAction.js b/superset/assets/src/chart/chartAction.js index bcdc4e1..ad147e3 100644 --- a/superset/assets/src/chart/chartAction.js +++ b/superset/assets/src/chart/chartAction.js @@ -246,7 +246,10 @@ export function runQuery(formData, force = false, timeout = 60, key) { export function redirectSQLLab(formData) { return (dispatch) => { const { url } = getExploreUrlAndPayload({ formData, endpointType: 'query' }); - return SupersetClient.get({ url }) + return SupersetClient.post({ + url, + postPayload: { form_data: formData }, + }) .then(({ json }) => { const redirectUrl = new URL(window.location); redirectUrl.pathname = '/superset/sqllab';
