fix(sqllab): Persisting tab state for saved query (#23087)

This commit is contained in:
Piyush Khandelwal 2023-04-21 22:23:34 +04:00 committed by GitHub
parent 35f36a20ff
commit b92ace46b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ class TabStateView(BaseSupersetView):
sql=query_editor.get("sql", "SELECT ..."),
query_limit=query_editor.get("queryLimit"),
hide_left_bar=query_editor.get("hideLeftBar"),
saved_query_id=query_editor.get("remoteId"),
template_params=query_editor.get("templateParams"),
)
(
db.session.query(TabState)