diff --git a/ckan/templates/snippets/search_form.html b/ckan/templates/snippets/search_form.html index 9d755c21a98..b77f2b990f2 100644 --- a/ckan/templates/snippets/search_form.html +++ b/ckan/templates/snippets/search_form.html @@ -46,11 +46,13 @@ {% endblock %} {% block search_title %} +

{% if not error %} -

{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}

+ {% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %} {% else %} -

Error

+ Error {% endif %} + {% endblock %} {% block search_facets %}