Artists with a _sort field show up twice #109
@ -812,8 +812,8 @@ impl<LIB, DB> MusicHoard<LIB, DB> {
|
||||
let artist_id: ArtistId = artist_id.into();
|
||||
|
||||
if self.get_artist(&artist_id).is_none() {
|
||||
let new_artist = vec![Artist::new(artist_id)];
|
||||
self.merge_with_secondary(new_artist);
|
||||
self.collection.push(Artist::new(artist_id));
|
||||
Self::sort_artists(&mut self.collection);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user