From 3d2a5986032c474357984465f7e277318d8e2a3d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Jul 2021 21:16:56 +0200 Subject: [PATCH] sneed --- ruqqus/routes/front.py | 2 +- ruqqus/templates/comments.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruqqus/routes/front.py b/ruqqus/routes/front.py index 23a00fde0..fda1a2d95 100644 --- a/ruqqus/routes/front.py +++ b/ruqqus/routes/front.py @@ -188,7 +188,7 @@ def front_all(v): if v: defaultsorting = v.defaultsorting - defaulttime = "day" + defaulttime = v.defaulttime else: defaultsorting = "hot" defaulttime = "day" diff --git a/ruqqus/templates/comments.html b/ruqqus/templates/comments.html index 456fd232c..41230ffc0 100644 --- a/ruqqus/templates/comments.html +++ b/ruqqus/templates/comments.html @@ -242,7 +242,7 @@
  • Votes
  • - {% if v and v.id!=p.author_id %} + {% if v and v.id!=c.author_id %}
  • Ban user
  • {% endif %}