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

fix: prevent error when sorting an artist's tracks #43

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

mgoltzsche
Copy link
Contributor

...by falling back to using 0 when a sort key is None. This makes the artist detail view also show up when one of the artist's tracks is missing a field that is used for sorting.

Closes #42

...by falling back to using `0` when a sort key is `None`.
This makes the artist detail view also show up when one of the artist's tracks is missing a field that is used for sorting.

Closes mopidy#42
@mgoltzsche mgoltzsche force-pushed the fix-artist-details-track-sort-key branch from 40e63b6 to 7fbdf56 Compare January 11, 2024 02:47
@mgoltzsche
Copy link
Contributor Author

ping and happy new year! 😃

@jodal jodal merged commit 26a9563 into mopidy:main Jan 4, 2025
6 of 7 checks passed
@jodal
Copy link
Member

jodal commented Jan 4, 2025

Better late than never 😅

Happy new year!

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.

Artist detail view is broken
2 participants