Update Filterer, add properties from server to fill in the Filterer

This commit is contained in:
William Comartin 2017-05-07 01:47:00 -04:00
parent 2e83b42ba9
commit 8aa94cc32d
3 changed files with 14 additions and 17 deletions

View file

@ -2951,7 +2951,7 @@ class WebInterface(object):
result = notifiers.get_notifier_config(notifier_id=notifier_id)
if not result['custom_conditions']:
result['custom_conditions'] = json.dumps([{'coefficient': '', 'operator': '', 'value': ''}])
result['custom_conditions'] = json.dumps([{'parameter': '', 'operator': '', 'value': ''}])
if not result['custom_conditions_logic']:
result['custom_conditions_logic'] = ''