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]