From 7e0ff187a223239535beef58b458a1327b1016d8 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 24 Jul 2018 22:47:53 +0200 Subject: [PATCH] Make the per page for the admin stream configurable --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 1d45e98..1ae4424 100644 --- a/app.py +++ b/app.py @@ -1538,7 +1538,7 @@ def admin_stream(): if request.args.get("debug_inbox"): q = {} - inbox_data, older_than, newer_than = paginated_query(DB.activities, q) + inbox_data, older_than, newer_than = paginated_query(DB.activities, q, limit=int(request.args.get('limit', 25))) return render_template( tpl, inbox_data=inbox_data, older_than=older_than, newer_than=newer_than