From e891d46f67cf723247690f09a79d11c1ff41a083 Mon Sep 17 00:00:00 2001 From: mattcarter11 <38189440+mattcarter11@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:18:40 +0100 Subject: [PATCH] search-fix: fix removed playlist showing in search --- app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt b/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt index a2f5547cc..aa95e341e 100644 --- a/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt +++ b/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt @@ -68,6 +68,7 @@ interface PlaylistsDao { LEFT JOIN playlist_song_map psm ON p.id = psm.playlistId LEFT JOIN song s ON psm.songId = s.id WHERE name LIKE '%' || :query || '%' + AND s.inLibrary IS NOT NULL GROUP BY p.id LIMIT :previewSize """)