add genres list sorting and fix bug with playlists sorting

This commit is contained in:
Drew Weymouth
2023-10-11 17:56:25 -07:00
parent 4485908776
commit 0bcdcf5e02
2 changed files with 79 additions and 20 deletions
+1
View File
@@ -358,6 +358,7 @@ func (p *PlaylistList) onSorted(sort widgets.ListHeaderSort) {
func (p *PlaylistList) doSortPlaylists() {
if p.sorting.Type == widgets.SortNone {
p.playlists = p.playlistsOrigOrder
return
}
switch p.sorting.ColNumber {
case 0: //Name