mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-25 16:19:04 +01: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) {
|
||||
return (
|
||||
item.name.toLowerCase().includes(this.filter) ||
|
||||
(item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
|
||||
(item.tag && item.tag.toLowerCase().includes(this.filter))
|
||||
);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user