Skip to content

Commit e66e1b5

Browse files
committed
Also sort playlist duplicates by display index
1 parent 92e9c3e commit e66e1b5

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_NAME + " COLLATE NOCASE ASC")
157+
+ " ORDER BY " + PLAYLIST_DISPLAY_INDEX)
158158
Flowable<List<PlaylistDuplicatesEntry>> getPlaylistDuplicatesMetadata(String streamUrl);
159159
}

0 commit comments

Comments
 (0)