Skip to content

Commit

Permalink
Take Musicbrainz into account when sorting artists. Otherwise artists…
Browse files Browse the repository at this point in the history
… of the same name might become sorted inconsistently.
  • Loading branch information
mherger committed Sep 13, 2023
1 parent fc957f8 commit 1cd7391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Control/Queries.pm
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ sub artistsQuery {
my $cacheKey;

my $collate = Slim::Utils::OSDetect->getOS()->sqlHelperClass()->collate();
my $sort = "contributors.namesort $collate";
my $sort = "contributors.namesort, contributors.musicbrainz_id $collate";

# Manage joins
if (defined $trackID) {
Expand Down

0 comments on commit 1cd7391

Please sign in to comment.