Sort by <field>_sort from tags if it is available #107

Merged
wojtek merged 5 commits from 73---sort-by-<field>_sort-from-tags-if-it-is-available into main 2024-01-13 15:42:05 +01:00
Showing only changes of commit a67cdd9afa - Show all commits

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