Skip to content

Commit

Permalink
Merge pull request #166 from jo-me/search-for-subtitle
Browse files Browse the repository at this point in the history
Include subtitles in search
  • Loading branch information
bastienwirtz authored Dec 8, 2020
2 parents a2481f7 + 6fe2112 commit 4c1f6c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export default {
matchesFilter: function (item) {
return (
item.name.toLowerCase().includes(this.filter) ||
(item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
(item.tag && item.tag.toLowerCase().includes(this.filter))
);
},
Expand Down

0 comments on commit 4c1f6c4

Please sign in to comment.