diff --git a/files/routes/front.py b/files/routes/front.py index 64227ef74..b211ca522 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -122,7 +122,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' if lt: posts = posts.filter(Post.created_utc < lt) if effortposts_only: - posts = posts.filter_by(effortpost=True) + posts = posts.filter(Post.effortpost == True) if not gt and not lt: posts = apply_time_filter(t, posts, Post)