Merge pull request #166 from jo-me/search-for-subtitle

Include subtitles in search
This commit is contained in:
Bastien Wirtz 2020-12-07 21:42:43 -08:00 committed by GitHub
commit 4c1f6c4329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
);
},