Skip to content

Commit 9c79c1c

Browse files
committed
Fixed a bug that prevented the display of multiple empty playlists
Turned out this bug was already fixed two years ago but unfortunately it made its way back again. It was solved in #9642 but back then another method was used for querying playlists from db (for add playlist dialog) then in ef4a623 was introduced another method which had the same problem as fixed in #9642 and which eventually replaced original method in code for querying playlists from db (for add playlist dialog)
1 parent 77d62de commit 9c79c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/schabi/newpipe/database/playlist/dao/PlaylistStreamDAO.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ interface PlaylistStreamDAO : BasicDAO<PlaylistStreamEntity> {
118118
LEFT JOIN streams
119119
ON streams.uid = stream_id AND :streamUrl = :streamUrl
120120
121-
GROUP BY playlist_id
121+
GROUP BY playlists.uid
122122
ORDER BY display_index, name
123123
"""
124124
)

0 commit comments

Comments
 (0)