From a67b301cd66235b41bff6bfb3de56b903bf9551d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 3 May 2018 02:17:31 +0200 Subject: [PATCH] s/albumartist/album/g --- platypush/backend/http/static/js/music.mpd.js | 4 ++-- platypush/backend/http/templates/plugins/music.mpd.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platypush/backend/http/static/js/music.mpd.js b/platypush/backend/http/static/js/music.mpd.js index 70f94d3d7..f2ccb38fb 100644 --- a/platypush/backend/http/static/js/music.mpd.js +++ b/platypush/backend/http/static/js/music.mpd.js @@ -644,9 +644,9 @@ $(document).ready(function() { ? (item.album || '').toLowerCase().indexOf( searchData.album.toLowerCase()) >= 0 : true) && - ('albumartist' in searchData + ('artist' in searchData ? (item.artist || '').toLowerCase().indexOf( - searchData.albumartist.toLowerCase()) >= 0 + searchData.artist.toLowerCase()) >= 0 : true) ); }); diff --git a/platypush/backend/http/templates/plugins/music.mpd.html b/platypush/backend/http/templates/plugins/music.mpd.html index 15ceb858e..fbf79a9b7 100644 --- a/platypush/backend/http/templates/plugins/music.mpd.html +++ b/platypush/backend/http/templates/plugins/music.mpd.html @@ -23,7 +23,7 @@
- +