forked from MarseyWorld/MarseyWorld
master
parent
93a527dc62
commit
961006d6c9
|
@ -57,7 +57,7 @@ def searchposts(v):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
posts = g.db.query(Submission.id)
|
posts = g.db.query(Submission.id).filter(Submission.club == False)
|
||||||
|
|
||||||
if not (v and v.admin_level > 1): posts = posts.filter(Submission.private == False)
|
if not (v and v.admin_level > 1): posts = posts.filter(Submission.private == False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue