fix(filterbox): fixed runtime exception in filterbox for allow multiple selection is false (#7011)

This commit is contained in:
jiten-github 2019-06-24 02:52:07 +05:30 committed by Maxime Beauchemin
parent 1c4092c61c
commit 9c0c16c71b
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ def merge_extra_filters(form_data: dict):
if date_options.get(filtr['col']):
if filtr.get('val'):
form_data[date_options[filtr['col']]] = filtr['val']
elif filtr['val'] and len(filtr['val']):
elif filtr['val']:
# Merge column filters
filter_key = get_filter_key(filtr)
if filter_key in existing_filters: