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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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
1 participant