carp where's my fucking cat
This commit is contained in:
parent
6fc7471317
commit
7ece47cba3
1 changed files with 1 additions and 2 deletions
|
@ -204,8 +204,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
|
||||||
posts = posts.order_by(Submission.comment_count.desc())
|
posts = posts.order_by(Submission.comment_count.desc())
|
||||||
|
|
||||||
if v:
|
if v:
|
||||||
if v.agendaposter: size = 5
|
size = v.frontsize
|
||||||
else: size = v.frontsize
|
|
||||||
else: size = 25
|
else: size = 25
|
||||||
|
|
||||||
posts = posts.offset(size * (page - 1)).limit(size+1).all()
|
posts = posts.offset(size * (page - 1)).limit(size+1).all()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue