fdssfd
This commit is contained in:
parent
d555dda2f1
commit
c87a278b74
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ def searchposts(v):
|
|||
|
||||
|
||||
|
||||
posts = g.db.query(Submission.id).filter(Submission.club == False)
|
||||
posts = g.db.query(Submission.id)
|
||||
|
||||
if not (v and v.paid_dues): posts = posts.filter(Submission.club == False)
|
||||
|
||||
if not (v and v.admin_level > 1): posts = posts.filter(Submission.private == False)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue