From 463b44ac52b2d26d2b6631a3f997c9ac8e1114fc Mon Sep 17 00:00:00 2001 From: Spike <19519553+spikecodes@users.noreply.github.com> Date: Mon, 4 Jan 2021 05:05:21 +0000 Subject: [PATCH] Fix timeframe when sorting by controversial --- templates/subreddit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/subreddit.html b/templates/subreddit.html index 0faf115..bf32e5a 100644 --- a/templates/subreddit.html +++ b/templates/subreddit.html @@ -22,7 +22,7 @@ {% call utils::sort(["/r/", sub.name.as_str()].concat(), ["hot", "new", "top", "rising", "controversial"], sort.0) %} {% endif %} - {% if sort.0 == "top" %} {% call utils::options(sort.1, ["hour", "day", "week", "month", "year", "all"], "day") %} {% endif %}