11178 fix quick search press enter button

This commit is contained in:
Arthur 2022-12-14 11:58:44 -08:00
parent 860805ba82
commit f209604659

View File

@ -67,6 +67,9 @@ Context:
{% applied_filters filter_form request.GET %} {% applied_filters filter_form request.GET %}
{% endif %} {% endif %}
{# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
<form method="post" class="form form-horizontal"> <form method="post" class="form form-horizontal">
{% csrf_token %} {% csrf_token %}
{# "Select all" form #} {# "Select all" form #}
@ -93,9 +96,6 @@ Context:
</div> </div>
{% endif %} {% endif %}
{# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
<div class="form form-horizontal"> <div class="form form-horizontal">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="return_url" value="{% if return_url %}{{ return_url }}{% else %}{{ request.path }}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}{% endif %}" /> <input type="hidden" name="return_url" value="{% if return_url %}{{ return_url }}{% else %}{{ request.path }}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}{% endif %}" />