Updated the search template to only show results when there is atleast a query string present
This commit is contained in:
@@ -6,8 +6,12 @@
|
||||
{% if form %}
|
||||
{% include "search_results_subtemplate.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% include "generic_list_subtemplate.html" %}
|
||||
{% if query_string %}
|
||||
{% include "generic_list_subtemplate.html" %}
|
||||
{% endif %}
|
||||
{% if not form and not query_string %}
|
||||
{% include "generic_list_subtemplate.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
|
||||
Reference in New Issue
Block a user