« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/find.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/find.js b/src/find.js
index db35e0d8..9ed084d7 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({