From 3c1c65132213dd0ef6198e302eee9fc9040b486d Mon Sep 17 00:00:00 2001 From: Jim Fenton Date: Sat, 6 Mar 2021 20:40:30 +0000 Subject: [PATCH] Corrected template to remove spurious No Documents Match warning. Fixes #3148. Commit ready for merge. - Legacy-Id: 18904 --- ietf/templates/group/group_documents.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ietf/templates/group/group_documents.html b/ietf/templates/group/group_documents.html index 301b8ea55..b204fbffb 100644 --- a/ietf/templates/group/group_documents.html +++ b/ietf/templates/group/group_documents.html @@ -6,7 +6,11 @@ {% block group_content %} {% origin %} - {% include "doc/search/search_results.html" %} + {% if docs_related %} + {% include "doc/search/search_results.html" with skip_no_matches_warning=True %} + {% else %} + {% include "doc/search/search_results.html" %} + {% endif %} {% include "doc/search/search_results.html" with docs=docs_related meta=meta_related skip_no_matches_warning=True %} {% include "community/list_menu.html" %}