aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-12-07 21:42:43 -0800
committerGitHub <noreply@github.com>2020-12-07 21:42:43 -0800
commit4c1f6c43299161edc7030e731e09f5c5cd6ed7c2 (patch)
tree3e29f41308078a033ed2c4b3f21d2562d45eb47e
parenta2481f731707a564b8cd1b7d4a5c8815a71b3459 (diff)
parent6fe21127f56cb04de4070727e71eca80f1709fde (diff)
downloadhomer-20.12.07.tar.gz
homer-20.12.07.tar.zst
homer-20.12.07.zip
Merge pull request #166 from jo-me/search-for-subtitlev20.12.07
Include subtitles in search
-rw-r--r--src/App.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 31e49f7..dc473ca 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -199,6 +199,7 @@ export default {
199 matchesFilter: function (item) { 199 matchesFilter: function (item) {
200 return ( 200 return (
201 item.name.toLowerCase().includes(this.filter) || 201 item.name.toLowerCase().includes(this.filter) ||
202 (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
202 (item.tag && item.tag.toLowerCase().includes(this.filter)) 203 (item.tag && item.tag.toLowerCase().includes(this.filter))
203 ); 204 );
204 }, 205 },