From 04895e1fac0e9254c1b8c2bd1756b8c32998af51 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 1 Oct 2022 19:17:58 +0200 Subject: [PATCH] remove my effortpost algo (cant have shit in detroit) --- 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 0744753a3..c8337d146 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -118,7 +118,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(10, (func.length(Submission.body_html)-func.length(func.replace(Submission.body_html,'