From 5c965ab9d30a21d22f089053aaeb2d955b9870b3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 1 Sep 2021 21:48:26 +0200 Subject: [PATCH] fdfd --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index c9940711a..f3fb6ef54 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -49,7 +49,7 @@ def notifications(v): Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ACCOUNT, - ).order_by(Notification.id.desc()).offset(25 * (page - 1)).limit(26) + ).order_by(Notification.id.desc()).offset(25 * (page - 1)).limit(26).all() next_exists = (len(notifications) == 26) notifications = notifications[:25]