Skip to content

Commit

Permalink
fix(sqllab): Persisting tab state for saved query (#23087)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush9923 committed Apr 21, 2023
1 parent 35f36a2 commit b92ace4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/views/sql_lab/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ def post(self) -> FlaskResponse: # pylint: disable=no-self-use
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)
Expand Down

0 comments on commit b92ace4

Please sign in to comment.