mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
d8564e446b
commit
ed41a4fe19
7 changed files with 125 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue