diff --git a/app/models.py b/app/models.py index 1d5f7ea..3fa5cbf 100644 --- a/app/models.py +++ b/app/models.py @@ -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()