diff options
Diffstat (limited to 'src/search-select.js')
| -rw-r--r-- | src/search-select.js | 4 |
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 = [ |