1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-06-14 09:16:48 +00:00

fix filtering of songs

This commit is contained in:
SuperBFG7 2018-05-12 09:53:33 +02:00
parent 9bf518ed07
commit f89c49e09c

View File

@ -1243,7 +1243,7 @@ function set_filter (c) {
$.each($('#salamisandwich > tbody > tr'), function(i, line) { $.each($('#salamisandwich > tbody > tr'), function(i, line) {
var first = basename($(line).attr('uri'))[0]; var first = basename($(line).attr('uri'))[0];
if ( $(line).hasClass('song') ) { if ( $(line).hasClass('song') ) {
first = $(line).children().eq(1).text()[0]; first = $(line).children().eq(3).text()[0];
} }
if (filter === "num") { if (filter === "num") {