« get me outta code hell

search: drop 'kind' field - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-10 20:52:03 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-10 20:52:03 -0300
commit44fbad52edd10b88b996397d5f5456bc1f4e6800 (patch)
tree3ac948b5ad45594dacdda80723b230bdd08cd799 /src/util
parent53c3d939e66b5ecefa8b92de757bc70c0c6c34bd (diff)
search: drop 'kind' field
Diffstat (limited to 'src/util')
-rw-r--r--src/util/search-spec.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/search-spec.js b/src/util/search-spec.js
index 22ce71a3..79e8ee95 100644
--- a/src/util/search-spec.js
+++ b/src/util/search-spec.js
@@ -115,9 +115,6 @@ export const searchSpec = {
     process(thing, opts) {
       const fields = {};
 
-      fields.kind =
-        thing.constructor[Symbol.for('Thing.referenceType')];
-
       fields.primaryName =
         thing.name;
 
@@ -188,7 +185,6 @@ export const searchSpec = {
     },
 
     index: [
-      'kind',
       'primaryName',
       'parentName',
       'artTags',