This commit is contained in:
Aevann1 2021-09-24 18:21:59 +02:00
parent 1d230517f0
commit b247c2daeb
4 changed files with 8 additions and 10 deletions

View file

@ -58,7 +58,7 @@ def searchposts(v):
posts = g.db.query(Submission).options(lazyload('*'))
posts = g.db.query(Submission.id).options(lazyload('*'))
if not (v and v.admin_level == 6): posts = posts.filter(Submission.private == False)
@ -153,7 +153,7 @@ def searchposts(v):
total = len(posts)
ids = [x.id for x in posts]
ids = [x[0] for x in posts]