This commit is contained in:
Aevann1 2021-12-06 20:40:10 +02:00
parent 951c6a9a8a
commit 67493eccea
2 changed files with 5 additions and 1 deletions

View file

@ -101,7 +101,8 @@ def post_id(pid, anything=None, v=None):
try: pid = int(pid)
except Exception as e: pass
if v: defaultsortingcomments = v.defaultsortingcomments
if request.host == 'rdrama.net' and pid in [BUG_THREAD, EMOJI_THREAD]: defaultsortingcomments = 'new'
elif v: defaultsortingcomments = v.defaultsortingcomments
else: defaultsortingcomments = "top"
sort = request.values.get("sort", defaultsortingcomments)