diff --git a/files/routes/front.py b/files/routes/front.py index ce42765e0e..23f7d48536 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -114,7 +114,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' posts = g.db.query(Submission).options(lazyload('*')) - if 'rdrama' in request.host and t != 'day' and sort in ["hot","controversial"]: + if 'rdrama' in request.host and sort == "hot": cutoff = int(time.time()) - 86400 posts = posts.filter(Submission.created_utc >= cutoff) elif t != 'all':