sfdsfd
This commit is contained in:
parent
951c6a9a8a
commit
67493eccea
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue