Skip to content

Commit

Permalink
library view: fix search by text
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ex4 committed Jul 24, 2024
1 parent 66911ff commit 2601697
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,10 @@
searchText = attributeText.toLowerCase();

filteredGames = games.filter(game =>
game.app_id?.toLowerCase().includes(searchText) ||
game.title_id?.toLowerCase().includes(searchText) ||
game.name?.toLowerCase().includes(searchText) ||
game.title_id_name?.toLowerCase().includes(searchText)
|| game.name?.toLowerCase().includes(searchText)
|| game.title_id?.toLowerCase().includes(searchText)
|| game.title_id?.toLowerCase().includes(searchText)
|| game.app_id?.toLowerCase().includes(searchText)
)
}

Expand Down

0 comments on commit 2601697

Please sign in to comment.