makes sure on Comment, reports relationship use created_datetimez
This commit is contained in:
parent
2d3120f0a7
commit
365f15eac7
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Comment(CreatedBase):
|
|||
viewonly=True)
|
||||
reports = relationship("CommentFlag",
|
||||
primaryjoin="CommentFlag.comment_id == Comment.id",
|
||||
order_by="CommentFlag.created_timestampz",
|
||||
order_by="CommentFlag.created_datetimez",
|
||||
viewonly=True)
|
||||
notes = relationship("UserNote", back_populates="comment")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue