From f89c49e09cbad58d340d515ae2d8d81ee305612c Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Sat, 12 May 2018 09:53:33 +0200 Subject: [PATCH] fix filtering of songs --- htdocs/js/mpd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- 2.20.1