fix: trie les titres par label avant de regrouper par album dans ArtisteController
This commit is contained in:
@@ -58,7 +58,10 @@
|
||||
IdArtiste = artiste.IdArtiste,
|
||||
Nom = artiste.Nom,
|
||||
Biographie = artiste.Biographie,
|
||||
AlbumsGroupes = artiste.Titres.GroupBy(t => t.Album),
|
||||
AlbumsGroupes = artiste.Titres
|
||||
.OrderBy(t => t.Libelle)
|
||||
.GroupBy(t => t.Album)
|
||||
.OrderBy(g => g.Key),
|
||||
};
|
||||
|
||||
this.logger.LogInformation("Artiste trouvé : {NomArtiste}", nom);
|
||||
|
||||
Reference in New Issue
Block a user