forked from rDrama/rDrama
bcv
parent
969b58cf42
commit
f0a53e8304
|
@ -269,6 +269,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false"
|
||||||
posts = g.db.query(Submission)
|
posts = g.db.query(Submission)
|
||||||
|
|
||||||
if sub: posts = posts.filter_by(sub=sub.name)
|
if sub: posts = posts.filter_by(sub=sub.name)
|
||||||
|
elif SITE != 'devrama.xyz':
|
||||||
elif SITE_NAME == '2Much4You': posts = posts.filter(Submission.sub.in_(toomuch_subs))
|
elif SITE_NAME == '2Much4You': posts = posts.filter(Submission.sub.in_(toomuch_subs))
|
||||||
elif SITE_NAME == 'Ruqqus':
|
elif SITE_NAME == 'Ruqqus':
|
||||||
posts = posts.filter(Submission.sub != None)
|
posts = posts.filter(Submission.sub != None)
|
||||||
|
|
Loading…
Reference in New Issue