mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-07 18:40:15 +02:00
Refetch search query when the input is updated
This commit is contained in:
@ -106,7 +106,7 @@
|
||||
{% if user.is_authenticated and user.registration.is_admin %}
|
||||
initModal("search",
|
||||
() => "{% url "haystack_search" %}?q=" + encodeURI(document.getElementById("search-term").value),
|
||||
"search-results")
|
||||
"search-results", true)
|
||||
{% endif %}
|
||||
|
||||
{% if not user.is_authenticated %}
|
||||
|
Reference in New Issue
Block a user