mirror of https://github.com/bastienwirtz/homer
Merge pull request #166 from jo-me/search-for-subtitle
Include subtitles in searchpull/169/head v20.12.07
commit
4c1f6c4329
|
@ -199,6 +199,7 @@ export default {
|
||||||
matchesFilter: function (item) {
|
matchesFilter: function (item) {
|
||||||
return (
|
return (
|
||||||
item.name.toLowerCase().includes(this.filter) ||
|
item.name.toLowerCase().includes(this.filter) ||
|
||||||
|
(item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
|
||||||
(item.tag && item.tag.toLowerCase().includes(this.filter))
|
(item.tag && item.tag.toLowerCase().includes(this.filter))
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue