From 196a73e004c935d44582e4e27d5f644df664cf9e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 19 Sep 2021 15:33:22 +0200 Subject: [PATCH] fg --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 160074ff8..066baa241 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -99,7 +99,7 @@ def log(v): page=int(request.values.get("page",1)) - actions = g.db.query(ModAction).offset(25 * (page - 1)).limit(26).all() + actions = g.db.query(ModAction).order_by(ModAction.id.desc()).offset(25 * (page - 1)).limit(26).all() next_exists = len(actions)==26 actions = actions[:25]