From 42374fa0160590889414f8e26b756abb51d29a2a Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 1 Jul 2025 00:58:11 +0200 Subject: [PATCH] Limit search functionality to album name and artist only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed description and info fields from search to improve relevance - Search now only matches against Artist and Album fields - Faster and more focused search results - Prevents overwhelming results from description text matches 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script.js b/script.js index f367300..56eed96 100644 --- a/script.js +++ b/script.js @@ -215,8 +215,7 @@ function handleSearch(event) { } else { filteredData = albumsData.filter(album => album.Artist.toLowerCase().includes(query) || - album.Album.toLowerCase().includes(query) || - (album.Description && album.Description.toLowerCase().includes(query)) + album.Album.toLowerCase().includes(query) ); }