fsd
This commit is contained in:
parent
a7b801a9bb
commit
b919ce16d7
22 changed files with 29 additions and 27 deletions
|
@ -309,7 +309,7 @@ def settings_profile_post(v):
|
|||
|
||||
defaultsorting = request.values.get("defaultsorting")
|
||||
if defaultsorting:
|
||||
if defaultsorting in {"hot", "new", "old", "comments", "controversial", "top", "bottom"}:
|
||||
if defaultsorting in {"hot", "bump", "new", "old", "comments", "controversial", "top", "bottom"}:
|
||||
v.defaultsorting = defaultsorting
|
||||
updated = True
|
||||
else: abort(400)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue