« get me outta code hell

search: try a "kind" field - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-18 20:49:03 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:57 -0300
commit44987923fcf0db564042452366d9750aee656a4a (patch)
treee4450fbbafb04b4f52826efe1f7ddcb8476f8c63 /src/static/js
parent73a79bcdcb8c590c3e670f32960c26a8829801f8 (diff)
search: try a "kind" field
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/search-worker.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index e79b5d66..44af94fd 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -385,6 +385,11 @@ function queryGenericIndex(index, query, options) {
   const interestingFieldCombinations = [
     ['primaryName', 'contributors', 'groups'],
     ['primaryName', 'groups'],
+    ['kind', 'contributors', 'primaryName'],
+    ['kind', 'contributors', 'groups'],
+    ['kind', 'groups', 'primaryName'],
+    ['kind', 'groups'],
+    ['kind', 'contributors'],
     ['contributors', 'groups'],
     ['primaryName', 'contributors'],
     ['primaryName'],