Open kivinen opened 1 year ago
@kivinen could we give this issue a better title?
This could go the route of using the django paging framework, or, more likely, a better front-end/back-end separation and results via graphql that lets the front-end do efficient paging.
Description
The document search should allow showing more documents than the fixed limit of 200. This should be done so that it is only possible if you are searching for one group of documents, as otherwise the ordering and paging is hard from the ui perspective (do I need to scroll past all drafts before I get to RFCs)..
But if you have only one type of documents visible (for example either active internet-drafts, or only RFCs), then at the end of the page there should next page button, and perhaps even quick jump buttons to specific pages. If the search is returning thousands of items we do not want to show them all in one huge page, as that would be again hard from the ui perspective.
Best would have page numbers and some way of showing which page contains what as first item (If the document list is sorted by draft name, the page 33 could say first draft on this page is draft-xxx on the tooltip, if the document list is sorted by the date, the page 33 would say the first item is 2020-03-13 etc).
This is bigger change as we need do sorting also on the python code, where currently I think it is done in javascript in browser.
Code of Conduct