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 %}