gfdfg
parent
703c285917
commit
5103630e9f
|
@ -145,7 +145,7 @@ def front_all(v):
|
||||||
|
|
||||||
|
|
||||||
@cache.memoize(timeout=86400)
|
@cache.memoize(timeout=86400)
|
||||||
def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='', gt=None, lt=None)):
|
def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='', gt=None, lt=None):
|
||||||
|
|
||||||
posts = g.db.query(Submission.id).options(lazyload('*'))
|
posts = g.db.query(Submission.id).options(lazyload('*'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue