« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/find.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/find.js')
-rw-r--r--src/find.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/find.js b/src/find.js
index db35e0d..9ed084d 100644
--- a/src/find.js
+++ b/src/find.js
@@ -155,6 +155,12 @@ const find = {
 
   artist: findHelper({
     referenceTypes: ['artist', 'artist-gallery'],
+
+    include: artist => !artist.isAlias,
+  }),
+
+  artistIncludingAliases: findHelper({
+    referenceTypes: ['artist', 'artist-gallery'],
   }),
 
   artTag: findHelper({