mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: missing key when verifying adhoc filters in merge_extra_filters (#12620)
Co-authored-by: Bryan Keller <bkeller@netflix.com>
This commit is contained in:
@@ -1025,8 +1025,8 @@ def merge_extra_filters( # pylint: disable=too-many-branches
|
||||
for existing in adhoc_filters:
|
||||
if (
|
||||
existing["expressionType"] == "SIMPLE"
|
||||
and existing["comparator"] is not None
|
||||
and existing["subject"] is not None
|
||||
and existing.get("comparator") is not None
|
||||
and existing.get("subject") is not None
|
||||
):
|
||||
existing_filters[get_filter_key(existing)] = existing["comparator"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user