diff --git a/core/lib/opensearch.py b/core/lib/opensearch.py index db14d7f..c829701 100644 --- a/core/lib/opensearch.py +++ b/core/lib/opensearch.py @@ -223,12 +223,7 @@ def query_results(request, size=None): message_class = "danger" return {"message": message, "class": message_class} sentiment_method = request.POST["sentiment-method"] - range_query_compare = { - "range": { - "sentiment": { - } - } - } + range_query_compare = {"range": {"sentiment": {}}} range_query_precise = { "match": { "sentiment": None, diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 9af17db..de4c378 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -173,21 +173,29 @@