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,
|
IdArtiste = artiste.IdArtiste,
|
||||||
Nom = artiste.Nom,
|
Nom = artiste.Nom,
|
||||||
Biographie = artiste.Biographie,
|
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);
|
this.logger.LogInformation("Artiste trouvé : {NomArtiste}", nom);
|
||||||
|
|||||||
Reference in New Issue
Block a user