Fix /votes/ downvote listing display.

pull/34/head
Snakes 2022-12-01 10:15:29 -05:00
parent 4847227639
commit b04b7e9269
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 0 additions and 2 deletions

View File

@ -26,7 +26,6 @@ def vote_info_get(v, link):
query = g.db.query(Vote).join(Vote.user).filter(
Vote.submission_id == thing_id,
Vote.vote_type == 1,
).order_by(Vote.created_utc)
if not v.can_see_shadowbanned:
@ -45,7 +44,6 @@ def vote_info_get(v, link):
query = g.db.query(CommentVote).join(CommentVote.user).filter(
CommentVote.comment_id == thing_id,
CommentVote.vote_type == 1,
).order_by(CommentVote.created_utc)
if not v.can_see_shadowbanned: