Skip to content

Parameter passing via URL Query String #33512

Open
@Kiranpatelbp

Description

@Kiranpatelbp

Bug description

Image

Image

Here is a valid URL for id = 1, without the op key, which Superset interprets as ==:

http://localhost:8088/superset/dashboard/5/?native_filters=%7B%22filters%22%3A%5B%7B%22col%22%3A%22id%22%2C%22val%22%3A1%7D%5D%7D

Decoded:

{
"filters": [
{
"col": "id",
"val": 1
}
]
}

When I run the above URL, the dashboard is not filtering based on the condition ID=1. I.e. it showing all records in the table component.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dashboard:filtersetsRelated to the filtersets of the Dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions