« get me outta code hell

search: aliasNames -> artistAliases - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/search-select.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-24 07:01:51 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-24 07:01:51 -0300
commit3a1b2164f390f7998c98579d85d5a984421f44a6 (patch)
treedc2dcffefbfc576f5c96843e635d91b300b8e58d /src/search-select.js
parent8a36571fdef4fd7b815640439d736fb4bd822ec4 (diff)
search: aliasNames -> artistAliases
Diffstat (limited to 'src/search-select.js')
-rw-r--r--src/search-select.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search-select.js b/src/search-select.js
index e9048a9e..24532cbb 100644
--- a/src/search-select.js
+++ b/src/search-select.js
@@ -158,8 +158,8 @@ function genericProcess(thing, opts) {
   fields.additionalNames =
     (thing.constructor.hasPropertyDescriptor('additionalNames')
       ? thing.additionalNames.map(entry => entry.name)
-   : thing.constructor.hasPropertyDescriptor('aliasNames')
-      ? thing.aliasNames
+   : thing.constructor.hasPropertyDescriptor('artistAliases')
+      ? thing.artistAliases.map(alias => alias.name)
       : []);
 
   const contribKeys = [