fse
This commit is contained in:
parent
b25e33a094
commit
8dad770d88
9 changed files with 31 additions and 31 deletions
|
@ -100,10 +100,10 @@ def searchposts(v):
|
|||
pass
|
||||
elif v:
|
||||
blocking = [x[0] for x in g.db.query(
|
||||
UserBlock.target_id).filter_by(
|
||||
UserBlock.target_id).options(lazyload('*')).filter_by(
|
||||
user_id=v.id).all()]
|
||||
blocked = [x[0] for x in g.db.query(
|
||||
UserBlock.user_id).filter_by(
|
||||
UserBlock.user_id).options(lazyload('*')).filter_by(
|
||||
target_id=v.id).all()]
|
||||
|
||||
posts = posts.filter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue