Artists with a _sort field show up twice #109

Merged
wojtek merged 8 commits from 108---artists-with-a-_sort-field-show-up-twice into main 2024-01-14 15:46:34 +01:00
Showing only changes of commit 0566c3fa67 - Show all commits

View File

@ -812,8 +812,8 @@ impl<LIB, DB> MusicHoard<LIB, DB> {
let artist_id: ArtistId = artist_id.into(); let artist_id: ArtistId = artist_id.into();
if self.get_artist(&artist_id).is_none() { if self.get_artist(&artist_id).is_none() {
let new_artist = vec![Artist::new(artist_id)]; self.collection.push(Artist::new(artist_id));
self.merge_with_secondary(new_artist); Self::sort_artists(&mut self.collection);
} }
} }