Skip to content

Commit bac162d

Browse files
committed
Reduced the max number of results returned by document searches from 500 to 200, for a better user experience. A faster return and a search term tweak to pinpoint the desired search result is better than a long wait and then maybe having to tweak the search terms anyway.
- Legacy-Id: 15027
1 parent 9bd18df commit bac162d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def fill_in_document_table_attributes(docs, have_telechat_date=False):
134134
l.sort()
135135

136136

137-
def prepare_document_table(request, docs, query=None, max_results=500):
137+
def prepare_document_table(request, docs, query=None, max_results=200):
138138
"""Take a queryset of documents and a QueryDict with sorting info
139139
and return list of documents with attributes filled in for
140140
displaying a full table of information about the documents, plus

0 commit comments

Comments
 (0)