This commit is contained in:
Aevann1 2021-09-20 22:48:11 +02:00
parent 206729f10f
commit c598f90916

View file

@ -583,7 +583,6 @@ class User(Base):
return [x[0] for x in posts.offset(25 * (page - 1)).limit(26).all()]
@lazy
def saved_comment_idlist(self, page=1):
comments = g.db.query(Comment.id).options(lazyload('*')).options(lazyload('*')).filter_by(is_banned=False, deleted_utc=0)