From cd86ffa9aac35d68c79a72474c2d8a15f9216412 Mon Sep 17 00:00:00 2001 From: mboudet Date: Fri, 24 Nov 2023 12:29:29 +0100 Subject: [PATCH] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 8021abc..6685b96 100644 --- a/config.py +++ b/config.py @@ -16,6 +16,6 @@ class Config(object): ES_DISPLAY_FIELDS = display_fields.split(",") if display_fields else [] es_url = "http://{}:{}".format(ES_URL, ES_PORT) allowed_filters = os.environ.get('ES_ALLOWED_FILTERS', "") - ES_ALLOWED_FILTERS = allowed_filters.split(",") if display_fields else [] + ES_ALLOWED_FILTERS = allowed_filters.split(",") if allowed_filters else [] ES_INSTANCE = Elasticsearch(es_url) ES_HIGHLIGHT_TAG = os.environ.get('ES_HIGHLIGHT_TAG', 'em')