From 924b8a2a5e1c163d9b611cde16717808314622fc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 3 Feb 2022 12:44:48 +0200 Subject: [PATCH] xcv --- files/routes/front.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 90e68ef0a..574a340de 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -68,10 +68,10 @@ def notifications(v): Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ID, - ).order_by(Notification.id.desc()).offset(25 * (page - 1)).limit(26).all() + ).order_by(Notification.id.desc()).offset(100 * (page - 1)).limit(101).all() - next_exists = (len(notifications) > 25) - notifications = notifications[:25] + next_exists = (len(notifications) > 100) + notifications = notifications[:100] for x in notifications: if x[0].read: break