feat: add paging to package depends & required by

This patch does not include a javascript implementating, but
provides a pure HTML/HTTP method of paging through these lists.

Also fixes erroneous limiting. We now use a hardcoded limit of 20
by default.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-03-30 16:16:47 -07:00
parent d8564e446b
commit ed41a4fe19
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
7 changed files with 125 additions and 16 deletions

View file

@ -100,6 +100,8 @@ async def make_variable_context(request: Request, title: str, next: str = None):
for k, v in to_copy.items():
context[k] = v
context["q"] = dict(request.query_params)
return context