filter_by
This commit is contained in:
parent
d68dcb69ca
commit
d472d778cb
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class Changelog(db.Model):
|
||||||
i.update()
|
i.update()
|
||||||
else:
|
else:
|
||||||
i.delete()
|
i.delete()
|
||||||
Metadata.query(user_id=user.id, item_id=itemid).delete()
|
Metadata.query.filter_by(user_id=user.id, item_id=itemid).delete()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def action_addlist(self, user, timestamp, name, query=None):
|
def action_addlist(self, user, timestamp, name, query=None):
|
||||||
|
|
Loading…
Reference in a new issue