This commit is contained in:
Aevann1 2021-12-28 10:03:50 +02:00
parent 9aec30ab27
commit 79349a48a6
3 changed files with 7 additions and 7 deletions

View file

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