File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636< div class ="search-results ">
3737
3838{% if not docs %}
39- < h2 > No documents match your query.</ h2 >
39+ {% if not skip_no_matches_warning %}
40+ < h2 > No documents match your query.</ h2 >
41+ {% endif %}
4042{% else %}
4143
4244{% if meta.max %}
Original file line number Diff line number Diff line change 77
88{% include "doc/search/search_results.html" %}
99
10- {% include "doc/search/search_results.html" with docs=docs_related meta=meta_related %}
10+ {% include "doc/search/search_results.html" with docs=docs_related meta=meta_related skip_no_matches_warning=True %}
1111
1212</ div >
1313{% endblock group_content %}
Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ def search_for_group_documents(group):
230230 docs_related = []
231231 for d in raw_docs_related :
232232 parts = d .name .split ("-" , 2 );
233- # canonical form draft-<name|ietf>-wg-etc
234- if len (parts ) >= 3 and parts [1 ] != "ietf" and parts [2 ].startswith (group .acronym + "-" ):
233+ # canonical form draft-<name|ietf|irtf >-wg-etc
234+ if len (parts ) >= 3 and parts [1 ] not in ( "ietf" , "irtf" ) and parts [2 ].startswith (group .acronym + "-" ):
235235 d .search_heading = "Related Internet-Draft"
236236 docs_related .append (d )
237237
You can’t perform that action at this time.
0 commit comments