Fix src/source issue

This commit is contained in:
Mark Veidemanis 2022-08-30 11:50:52 +01:00
parent acbc8b7697
commit 0d58a3b082
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -102,7 +102,7 @@
<i class="fa-solid fa-circle"></i>
</span>
{% endif %}
{% if item.source == 'irc' %}
{% if item.src == 'irc' %}
<a
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'modal_drilldown' %}"