« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 = [