This commit is contained in:
Wojciech Kozlowski 2024-01-13 14:43:17 +01:00
parent 25a13601fd
commit a67cdd9afa

View File

@ -931,11 +931,9 @@ impl<LIB, DB> MusicHoard<LIB, DB> {
artist_sort.as_ref().unwrap() artist_sort.as_ref().unwrap()
))); )));
} }
} else { } else if artist_sort.is_some() {
if artist_sort.is_some() {
artist.sort = artist_sort; artist.sort = artist_sort;
} }
}
if album_ids[&artist_id].contains(&album_id) { if album_ids[&artist_id].contains(&album_id) {
// Assume results are in some order which means they will likely be grouped by // Assume results are in some order which means they will likely be grouped by