This commit is contained in:
Aevann1 2021-09-23 21:22:18 +02:00
parent f2cec4a04d
commit 376a059e9f
3 changed files with 12 additions and 2 deletions

View file

@ -59,7 +59,7 @@ def searchposts(v):
posts = g.db.query(Submission.id).options(
posts = g.db.query(Submission).options(
lazyload('*')
).join(
Submission.submission_aux,
@ -165,7 +165,7 @@ def searchposts(v):
total = len(posts)
ids = [x[0] for x in posts]
ids = [x.id for x in posts]