Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ietf/doc/views_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ def retrieve_search_results(form, all_types=False):

docs=docs.distinct()

# order by time here to retain the most recent documents in case we
# find too many and have to chop the results list in prepare_document_table
docs = docs.order_by('-time')

return docs


Expand Down
2 changes: 1 addition & 1 deletion ietf/templates/doc/shepherd_writeup.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{# Keep in sync with https://github.com/ietf-chairs/chairs.ietf.org/blob/main/documents/qa-style-writeup-template.md #}{% if stream %}{% if stream == 'ietf' %}# Document Shepherd Write-Up{% if type != "individ" %} for Group Documents{% else %} for Individual Documents{% endif %}
{# For more information see https://github.com/ietf/chairs.ietf.org/blob/main/documents/document-shepherding.md #}{% if stream %}{% if stream == 'ietf' %}# Document Shepherd Write-Up{% if type != "individ" %} for Group Documents{% else %} for Individual Documents{% endif %}

*This version is dated 4 July 2022.*

Expand Down
Loading