From 64f95f1fca23d928527ae5aa5276a912c0b5b97a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 09:48:54 +0200 Subject: [PATCH] sneed --- 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 3202436ddc..870b1e8eed 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -126,7 +126,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false" if sort == 'hot': ti = int(time.time()) + 3600 if SITE_NAME == 'rDrama': - posts = posts.order_by(-1000000*(Submission.realupvotes + 1 + Submission.comment_count/5 + func.least(50, (func.length(Submission.body_html)-func.length(func.replace(Submission.body_html,'