Skip to content
Merged
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
Loading