From: 2weiEmu Date: Sun, 15 Mar 2026 22:40:50 +0000 (+0100) Subject: update: fixed filtering that i broke X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=0c82087d1686757058f0e012b9ea976eda839a67;p=binbsis50-sm.git update: fixed filtering that i broke --- diff --git a/public/js/index.js b/public/js/index.js index feaf04c..7137d18 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -79,15 +79,14 @@ let allSongFilterList = document.getElementById("allSongFilterList") allSongFilterList.oninput = (event) => {filterAllSongs(event)} function filterSongByAllAttrs(filter, song) { - return song.Key.includes(filter) || song.ArtistName.includes(filter) || - song.TrackName.includes(filter) + return song.Key.includes(filter) || song.ArtistName.toLowerCase().includes(filter) || + song.TrackName.toLowerCase().includes(filter) } function filterAllSongs(event) { console.log("Firing input trigger") let filterBy = allSongFilterList.value.toLowerCase() let filters = filterBy.split(" ") - console.log("Filtering by:" + filterBy) if (AllSongs == null) { console.log("all songs was null") diff --git a/songmanager b/songmanager index 5134469..d2c6f1a 100755 Binary files a/songmanager and b/songmanager differ