diff --git a/files/routes/posts.py b/files/routes/posts.py index ac5b0010d2..522c4c6092 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -170,7 +170,7 @@ def post_id(pid, anything=None, v=None, sub=None): blocked, blocked.c.user_id == Comment.author_id, isouter=True - ) + ).options(joinedload(Comment.flags), joinedload(Comment.awards), joinedload(Comment.author), joinedload(Comment.author, User.badges)) output = [] for c in comments.all(): diff --git a/ubuntu_setup b/ubuntu_setup.sh similarity index 100% rename from ubuntu_setup rename to ubuntu_setup.sh