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 %}
|
{% if form %}
|
||||||
{% include "search_results_subtemplate.html" %}
|
{% include "search_results_subtemplate.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if query_string %}
|
||||||
{% include "generic_list_subtemplate.html" %}
|
{% include "generic_list_subtemplate.html" %}
|
||||||
|
{% endif %}
|
||||||
|
{% if not form and not query_string %}
|
||||||
|
{% include "generic_list_subtemplate.html" %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
|
|||||||
Reference in New Issue
Block a user