dg
This commit is contained in:
parent
6483bda1b9
commit
aa9257cf1b
1 changed files with 0 additions and 3 deletions
|
@ -289,9 +289,6 @@ def changeloglist(v=None, sort="new", page=1 ,t="all", **kwargs):
|
||||||
cutoff = now - 31536000
|
cutoff = now - 31536000
|
||||||
posts = posts.filter(Submission.created_utc >= cutoff)
|
posts = posts.filter(Submission.created_utc >= cutoff)
|
||||||
|
|
||||||
gt = kwargs.get("gt")
|
|
||||||
lt = kwargs.get("lt")
|
|
||||||
|
|
||||||
if sort == "new":
|
if sort == "new":
|
||||||
posts = posts.order_by(Submission.created_utc.desc())
|
posts = posts.order_by(Submission.created_utc.desc())
|
||||||
elif sort == "old":
|
elif sort == "old":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue