From bac162d0d07b991befaa1a3bedc180332cc552d9 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Sat, 7 Apr 2018 10:12:13 +0000 Subject: [PATCH] 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 --- ietf/doc/utils_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/utils_search.py b/ietf/doc/utils_search.py index 12fcb9d27..318681386 100644 --- a/ietf/doc/utils_search.py +++ b/ietf/doc/utils_search.py @@ -134,7 +134,7 @@ def fill_in_document_table_attributes(docs, have_telechat_date=False): l.sort() -def prepare_document_table(request, docs, query=None, max_results=500): +def prepare_document_table(request, docs, query=None, max_results=200): """Take a queryset of documents and a QueryDict with sorting info and return list of documents with attributes filled in for displaying a full table of information about the documents, plus