Remove references to 'deleted' column
This commit is contained in:
parent
6c05ed8c6f
commit
a8931e8b2b
@ -247,7 +247,7 @@ class Playlists(dbtables.PlaylistsTable):
|
||||
|
||||
return session.scalars(
|
||||
select(cls)
|
||||
.where(cls.is_template.is_(True), cls.deleted.is_not(True))
|
||||
.where(cls.is_template.is_(True))
|
||||
.order_by(cls.name)
|
||||
).all()
|
||||
|
||||
@ -260,7 +260,6 @@ class Playlists(dbtables.PlaylistsTable):
|
||||
.filter(
|
||||
cls.open.is_(False),
|
||||
cls.is_template.is_(False),
|
||||
cls.deleted.is_(False),
|
||||
)
|
||||
.order_by(cls.last_used.desc())
|
||||
).all()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user