diff --git a/files/helpers/get.py b/files/helpers/get.py index 4b12c8aef..47eaf4475 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -190,7 +190,7 @@ def get_posts(pids, v=None): blocked, blocked.c.user_id == Submission.author_id, isouter=True - ).options(joinedload(Submission.flags), joinedload(Submission.awards), joinedload(Submission.author), joinedload(Submission.author, User.badges)).all() + ).all() output = [p[0] for p in query] for i in range(len(output)):