Skip to content

Commit 063568b

Browse files
committed
Fixed playlist order between "Bookmarked Playlists" list and "add to playlist" dialog list. Now both lists are sorted using case insensitive order if the user has not yet adjusted manually the order.
1 parent 035c394 commit 063568b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ default Flowable<List<PlaylistStreamEntity>> listByService(final int serviceId)
154154
+ " AND :streamUrl = :streamUrl"
155155

156156
+ " GROUP BY " + JOIN_PLAYLIST_ID
157-
+ " ORDER BY " + PLAYLIST_DISPLAY_INDEX)
157+
+ " ORDER BY " + PLAYLIST_DISPLAY_INDEX + ", " + PLAYLIST_NAME)
158158
Flowable<List<PlaylistDuplicatesEntry>> getPlaylistDuplicatesMetadata(String streamUrl);
159159
}

0 commit comments

Comments
 (0)