mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-06-25 12:12:44 +02:00
Merge pull request #166 from jo-me/search-for-subtitle
Include subtitles in search
This commit is contained in:
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…
x
Reference in New Issue
Block a user