diff --git a/files/routes/front.py b/files/routes/front.py index 68819bd25..870501c83 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -88,12 +88,12 @@ def notifications(v): next_exists = (len(notifications) > len(listing)) else: - notifications = v.notifications.join(Notification.comment).filter( + notifications = v.notifications.join(Notification.comment).distinct(Comment.top_comment_id).filter( Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ID, Comment.body_html.notlike('

New rdrama mention: {{vote.user.username}} - {{vote.user.truecoins}} + {{vote.user.truecoins}} {% endfor %}

Downvotes

- + + + + {% for vote in downs %} - + + + + {% endfor %}
User
UserUser truescore
{{vote.user.username}}
{{vote.user.username}}{{vote.user.truecoins}}