Fix src/source issue
This commit is contained in:
parent
acbc8b7697
commit
0d58a3b082
|
@ -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
|
||||
|
|
|
@ -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' %}"
|
||||
|
|
Loading…
Reference in New Issue