aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/App.vue
diff options
context:
space:
mode:
authorjo-me <jochen.mehlhorn@gmail.com>2020-11-22 14:00:29 +0100
committerjo-me <jochen.mehlhorn@gmail.com>2020-11-22 14:00:29 +0100
commit1c451e119e942b9049444425123880bce4c22cf3 (patch)
treeca0c520aa8b8b2063324dac7b3f733e4b894025a /src/App.vue
parenta2e28229a90d3f1adb10cc256cc14b4d48d50c42 (diff)
downloadhomer-1c451e119e942b9049444425123880bce4c22cf3.tar.gz
homer-1c451e119e942b9049444425123880bce4c22cf3.tar.zst
homer-1c451e119e942b9049444425123880bce4c22cf3.zip
Include subtitles in search
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index d97df0c..47e145c 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 },