Merge pull request #35 from 64617/frost

Default all sorts to new
This commit is contained in:
Ben Rog-Wilhelm 2022-05-08 22:18:50 -05:00 committed by GitHub
commit edfc35bce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 9 deletions

View file

@ -1112,7 +1112,7 @@ def submit_post(v, sub=None):
club=club,
author_id=v.id,
over_18=bool(request.values.get("over_18","")),
new=bool(request.values.get("new","")),
new=True, # always sort as new by default
app_id=v.client.application.id if v.client else None,
is_bot = is_bot,
url=url,