Include subtitles in search

This commit is contained in:
jo-me 2020-11-22 14:00:29 +01:00
parent a2e28229a9
commit 1c451e119e

View File

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