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
This commit is contained in:
parent
9bd18df83b
commit
bac162d0d0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue