Change default RSS sort to 'new'.
This commit is contained in:
parent
d8462a4a32
commit
ccabc8b881
3 changed files with 4 additions and 4 deletions
|
@ -287,7 +287,7 @@ def front_all(v, sub=None, subdomain=None):
|
|||
|
||||
|
||||
@cache.memoize(timeout=86400)
|
||||
def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false", filter_words='', gt=0, lt=0, sub=None, site=None):
|
||||
def frontlist(v=None, sort='new', page=1, t="all", ids_only=True, ccmode="false", filter_words='', gt=0, lt=0, sub=None, site=None):
|
||||
|
||||
posts = g.db.query(Submission)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue