This commit is contained in:
Aevann1 2022-03-17 12:28:13 +02:00
parent a7b801a9bb
commit b919ce16d7
22 changed files with 29 additions and 27 deletions

View file

@ -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)