Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-414 / CB-415: Fix issues with event artist display #357

Merged
merged 4 commits into from
Aug 30, 2021

Conversation

reosarevok
Copy link
Member

reosarevok and others added 4 commits April 13, 2021 13:52
This tries to access target, which isn't there. artist['id']
is and does the trick though.
Some artists can appear multiple times, since they have the same
relationship in MusicBrainz with different attributes.
For example, artist -> main performer -> event (guitar, vocals).
CB does not keep and display these attributes, so we are just
showing the same artist entry several times with no distinguishing data.
This makes sure to filter any effective duplicates out of the artists
list - since it checks for equality, it should also just work
and no longer dedupe the dicts if we start adding the
different attributes to them.
@alastair alastair merged commit 2367ca1 into metabrainz:master Aug 30, 2021
@github-actions
Copy link

Unit Test Results

    1 files  ±0      1 suites  ±0   39s ⏱️ ±0s
143 tests ±0  143 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2367ca1. ± Comparison against base commit 2367ca1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants