Skip to content

Commit

Permalink
fix: sort comments based on cration time by default
Browse files Browse the repository at this point in the history
  • Loading branch information
realaravinth committed Apr 14, 2022
1 parent 38ebc62 commit 46442cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interface/db/comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def load_issue_comments(cls, issue: DBIssue) -> "[DBComment]":
gitea_issue_comments
WHERE
belongs_to_issue = ?
ORDER BY created
""",
(issue.id,),
).fetchall()
Expand Down

0 comments on commit 46442cc

Please sign in to comment.