Skip to content

Commit

Permalink
Fall back to sort artist albums by name
Browse files Browse the repository at this point in the history
If albums don't have a PremiereDate set, they should be sorted by name to have at least some type of order.
  • Loading branch information
Maxr1998 committed Sep 26, 2024
1 parent 728c71b commit 69f0851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/ArtistScreen/artist_screen_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class _ArtistScreenContentState extends State<ArtistScreenContent> {
jellyfinApiHelper.getItems(
parentItem: widget.parent,
filters: "Artist=${widget.parent.name}",
sortBy: "PremiereDate",
sortBy: "PremiereDate,SortName",
includeItemTypes: "MusicAlbum",
),
]);
Expand Down

0 comments on commit 69f0851

Please sign in to comment.