Skip to content

Commit

Permalink
fix: Persist query params appended to permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Mar 22, 2024
1 parent 8a715cc commit af29379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,8 @@ def dashboard_permalink(
if url_params := state.get("urlParams"):
params = parse.urlencode(url_params)
url = f"{url}&{params}"
if original_params := request.query_string.decode():
url = f"{url}&{original_params}"
if hash_ := state.get("anchor", state.get("hash")):
url = f"{url}#{hash_}"
return redirect(url)
Expand Down

0 comments on commit af29379

Please sign in to comment.