fix bug privacity
This commit is contained in:
parent
f1042b627b
commit
fe9c2c1c2d
|
@ -152,8 +152,10 @@ class ErasureListView(DeviceListMixin):
|
|||
where action.parent_id is null or placeholder.kangaroo=true
|
||||
"""
|
||||
ids = (e[0] for e in db.session.execute(sql))
|
||||
erasure = EraseBasic.query.filter(EraseBasic.id.in_(ids)).order_by(
|
||||
EraseBasic.created.desc()
|
||||
erasure = (
|
||||
EraseBasic.query.filter(EraseBasic.id.in_(ids))
|
||||
.filter_by(author=g.user)
|
||||
.order_by(EraseBasic.created.desc())
|
||||
)
|
||||
self.context['orphans'] = True
|
||||
|
||||
|
|
Reference in a new issue