diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-30 11:19:34 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-30 14:30:05 -0400 |
commit | 12a8b6d1148c7d616296c8ab4ed86cbc856e3861 (patch) | |
tree | 64274f909888229bddbb3146f6cdc8e73feb8d84 /src | |
parent | 825f0b3130a7141baf9111b6e7a783004a66b5fb (diff) |
find: find.artistIncludingAliases; exclude in find.artist
Diffstat (limited to 'src')
-rw-r--r-- | src/find.js | 6 |
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({ |