diff --git a/files/classes/comment.py b/files/classes/comment.py
index 542a4d1998..069a6ed918 100644
--- a/files/classes/comment.py
+++ b/files/classes/comment.py
@@ -10,7 +10,6 @@ from files.classes.votes import CommentVote
from files.helpers.const import AUTOPOLLER_ID, AUTOBETTER_ID, censor_slurs
from files.helpers.lazy import lazy
from .flags import CommentFlag
-from .award import AwardRelationship
from random import randint
site = environ.get("DOMAIN").strip()
@@ -53,7 +52,7 @@ class Comment(Base):
senttouser = relationship("User", primaryjoin="User.id==Comment.sentto", viewonly=True)
parent_comment = relationship("Comment", remote_side=[id], viewonly=True)
child_comments = relationship("Comment", remote_side=[parent_comment_id], viewonly=True)
- awards = relationship("AwardRelationship", viewonly=True, order_by=AwardRelationship.id)
+ awards = relationship("AwardRelationship", viewonly=True)
reports = relationship("CommentFlag", viewonly=True)
def __init__(self, *args, **kwargs):
diff --git a/files/classes/submission.py b/files/classes/submission.py
index 09db9f4c84..1796828780 100644
--- a/files/classes/submission.py
+++ b/files/classes/submission.py
@@ -11,7 +11,6 @@ from files.helpers.const import AUTOPOLLER_ID, AUTOBETTER_ID, censor_slurs, TROL
from files.helpers.lazy import lazy
from .flags import Flag
from .comment import Comment
-from .award import AwardRelationship
from flask import g
site = environ.get("DOMAIN").strip()
@@ -57,7 +56,7 @@ class Submission(Base):
author = relationship("User", primaryjoin="Submission.author_id==User.id")
oauth_app = relationship("OauthApp", viewonly=True)
approved_by = relationship("User", uselist=False, primaryjoin="Submission.is_approved==User.id", viewonly=True)
- awards = relationship("AwardRelationship", viewonly=True, order_by=AwardRelationship.id)
+ awards = relationship("AwardRelationship", viewonly=True)
reports = relationship("Flag", viewonly=True)
def __init__(self, *args, **kwargs):
diff --git a/files/templates/submission.html b/files/templates/submission.html
index 743c1c849a..60c89b6b17 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -16,7 +16,19 @@
{% if p.award_count("wholesome") %}