From: SuperBFG7 Date: Sat, 12 May 2018 07:53:33 +0000 (+0200) Subject: fix filtering of songs X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=f89c49e09cbad58d340d515ae2d8d81ee305612c;p=ympd.git fix filtering of songs --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 24e9e48..23dc165 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -1243,7 +1243,7 @@ function set_filter (c) { $.each($('#salamisandwich > tbody > tr'), function(i, line) { var first = basename($(line).attr('uri'))[0]; if ( $(line).hasClass('song') ) { - first = $(line).children().eq(1).text()[0]; + first = $(line).children().eq(3).text()[0]; } if (filter === "num") {