diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-12-22 20:39:34 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-12-22 20:49:19 +0000 |
commit | 8eedbf64a4c85d9cc8ed61f489f8dcf0e406c56c (patch) | |
tree | 8db63758ef987f0b2901204684f9f19ec1a74992 /app/views/packages/__init__.py | |
parent | c551201f792aa288a49c986aab264f4692e3b478 (diff) | |
download | cheatdb-8eedbf64a4c85d9cc8ed61f489f8dcf0e406c56c.tar.xz |
Improve package grid
Diffstat (limited to 'app/views/packages/__init__.py')
-rw-r--r-- | app/views/packages/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/__init__.py b/app/views/packages/__init__.py index a3a4198..ff670ce 100644 --- a/app/views/packages/__init__.py +++ b/app/views/packages/__init__.py @@ -114,7 +114,7 @@ def packages_page(): return redirect("https://forum.minetest.net/viewtopic.php?t=" + str(topic.topic_id)) page = int(request.args.get("page") or 1) - num = min(42, int(request.args.get("n") or 100)) + num = min(40, int(request.args.get("n") or 100)) query = query.paginate(page, num, True) search = request.args.get("q") |