mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 14:31:15 +00:00
fix: wrong albums appearing as appearances in artist page
This commit is contained in:
1 parent
56da0acd85
commit
16db3e1ad2
2 files changed
+1
-14
No files matched your search
+1
-1
@@ -128,7 +128,7 @@ def get_artist_albums(path: ArtistHashSchema, query: GetArtistAlbumsQuery):
|
||||
res["singles_and_eps"].append(album)
|
||||
elif album.type == "compilation":
|
||||
res["compilations"].append(album)
|
||||
elif album.albumhash in missing_albumhashes:
|
||||
elif album.albumhash in missing_albumhashes or artisthash not in album.artisthashes:
|
||||
res["appearances"].append(album)
|
||||
else:
|
||||
res["albums"].append(album)
|
||||
|
||||
Reference in new issue
Block a user