diff --git a/strictdoc/export/html/templates/components/form/search.jinja b/strictdoc/export/html/templates/components/form/search.jinja index 284e9d46f..340f03f2e 100644 --- a/strictdoc/export/html/templates/components/form/search.jinja +++ b/strictdoc/export/html/templates/components/form/search.jinja @@ -20,7 +20,7 @@ {%- if error is none -%} - {%- if search_results|length == 0 -%} + {%- if search_results|length == 0 and search_value|length > 0 -%}
Nothing matching the query was found.
{%- elif search_results|length > 0 -%}
Found {{ search_results|length }} results.