Remove references to 'deleted' column

This commit is contained in:
Keith Edmunds 2024-12-29 18:18:39 +00:00
parent 6c05ed8c6f
commit a8931e8b2b

View File

@ -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()