Payload
{
"name": "dashboard:filter-changed",
"payload": {
"prev": {
"filter": "OmniQueryFilter",
"asJsonUrlSearchParam": "string",
},
"next": {
"filter": "OmniQueryFilter",
"asJsonUrlSearchParam": "string",
},
"action": "string",
"urlId": "string",
}
}
Properties
The previous state of the filter before the change.
An object representing the previous filter configuration.
The previous filter as a JSON URL search param that can be used in dashboard URLs.
The new state of the filter after the change.
An object representing the new filter configuration.
The new filter as a JSON URL search param that can be used in dashboard URLs.
The type of filter change:
added - A new filter was added
removed - An existing filter was removed
updated - An existing filter’s value or configuration changed
The URL identifier for the dashboard where the filter was changed.
Example
{
"users.id": {
"filter": {
"is_negative": false,
"kind": "EQUALS"
},
"asJsonUrlSearchParam": "f--users.id=%7B\"is_inclusive\"%3Afalse%2C\"is_negative\"%3Afalse%2C\"kind\"%3A\"EQUALS\"%2C\"type\"%3A\"number\"%2C\"values\"%3A%5B\"3\"%5D%7D"
}
}