Limit search functionality to album name and artist only
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
016e6d9a40
commit
42374fa016
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue