diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-04-22 10:47:22 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-04-22 10:47:22 -0300 |
commit | f725dce9aa073ac130e67adcf7c5b1b49cc755ae (patch) | |
tree | a1f2e6d768deac42adae7540aa46593fb954938c /src/static/js/search-worker.js | |
parent | 7eecc9a218499dd5c9c0ac4e04c04bf079a7587f (diff) |
client: wiki-search: also take pluralized filter terms
Diffstat (limited to 'src/static/js/search-worker.js')
-rw-r--r-- | src/static/js/search-worker.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js index 1e684adc..a55c10a4 100644 --- a/src/static/js/search-worker.js +++ b/src/static/js/search-worker.js @@ -601,12 +601,12 @@ function queryVerbatimIndex(index, query, options) { function processTerms(query) { const kindTermSpec = [ - {kind: 'album', terms: ['album']}, - {kind: 'artist', terms: ['artist']}, - {kind: 'flash', terms: ['flash']}, - {kind: 'group', terms: ['group']}, - {kind: 'tag', terms: ['art tag', 'tag']}, - {kind: 'track', terms: ['track']}, + {kind: 'album', terms: ['album', 'albums']}, + {kind: 'artist', terms: ['artist', 'artists']}, + {kind: 'flash', terms: ['flash', 'flashes']}, + {kind: 'group', terms: ['group', 'groups']}, + {kind: 'tag', terms: ['art tag', 'art tags', 'tag', 'tags']}, + {kind: 'track', terms: ['track', 'tracks']}, ]; const genericTerms = []; |