mirror of https://github.com/apache/superset.git
fix(filterbox): fixed runtime exception in filterbox for allow multiple selection is false (#7011)
This commit is contained in:
parent
1c4092c61c
commit
9c0c16c71b
|
@ -840,7 +840,7 @@ def merge_extra_filters(form_data: dict):
|
||||||
if date_options.get(filtr['col']):
|
if date_options.get(filtr['col']):
|
||||||
if filtr.get('val'):
|
if filtr.get('val'):
|
||||||
form_data[date_options[filtr['col']]] = filtr['val']
|
form_data[date_options[filtr['col']]] = filtr['val']
|
||||||
elif filtr['val'] and len(filtr['val']):
|
elif filtr['val']:
|
||||||
# Merge column filters
|
# Merge column filters
|
||||||
filter_key = get_filter_key(filtr)
|
filter_key = get_filter_key(filtr)
|
||||||
if filter_key in existing_filters:
|
if filter_key in existing_filters:
|
||||||
|
|
Loading…
Reference in New Issue