diff --git a/core/lib/opensearch.py b/core/lib/opensearch.py index 7972a1a..9077c03 100644 --- a/core/lib/opensearch.py +++ b/core/lib/opensearch.py @@ -216,7 +216,9 @@ def construct_query(query, size, use_query_string=True, tokens=False): return query_base -def run_main_query(client, user, query, custom_query=False, index=None, size=None, filter=True): +def run_main_query( + client, user, query, custom_query=False, index=None, size=None, filter=True +): """ Low level helper to run an ES query. Accept a user to pass it to the filter, so we can diff --git a/core/templates/modals/context_table.html b/core/templates/modals/context_table.html index 5dc6e6f..efb53b8 100644 --- a/core/templates/modals/context_table.html +++ b/core/templates/modals/context_table.html @@ -102,7 +102,7 @@ {% endif %} - {% if item.source == 'irc' %} + {% if item.src == 'irc' %}