From 801ca98ee9ec380d738ef167f84e7c092d360a72 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 6 Aug 2021 14:52:15 +0200 Subject: [PATCH] fd --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 81bd34877..f7f13c065 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -54,7 +54,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing): flags = relationship("CommentFlag", lazy="joined") votes = relationship( "CommentVote", - lazy="dynamic", + lazy="joined", primaryjoin="CommentVote.comment_id==Comment.id") author = relationship(