GitHub user mosescha1972 created a discussion: Native Filter values cannot be 
passed via URL between dashboards due to forced native_filters_key behavior

Environment

Apache Superset: master branch (latest)

Database: Oracle

Feature: Native Filters, Drill to Detail (dashboard → dashboard navigation)

What we are trying to achieve

>From Dashboard A, when a user selects a value (e.g., STK_CD = 011080),
we want to navigate to Dashboard B via URL and have Dashboard B’s Native Filter 
automatically populated with that value.

Example intended behavior:

/superset/dashboard/34/?종목코드=011080


or

/superset/dashboard/34/?NATIVE_FILTER-xxxx=011080


or with

reset_filters=1


Actual behavior

No matter which URL parameter pattern is used:

/superset/dashboard/34/?stock_code=011080
/superset/dashboard/34/?reset_filters=1
/superset/dashboard/34/?NATIVE_FILTER-xxxx=011080


Superset ignores all URL filter parameters.

Instead, the URL is automatically rewritten and always ends up as:

/superset/dashboard/34/?native_filters_key=XXXX


As soon as native_filters_key appears:

All URL parameters intended for Native Filters are ignored.

As a result, it is impossible to pass filter values from one dashboard to 
another using URL parameters.

GitHub link: https://github.com/apache/superset/discussions/37622

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to