From c184bc68330928c1038dbabbc09b3130b50505bf Mon Sep 17 00:00:00 2001 From: Anthony Jean Date: Sat, 31 Aug 2019 19:17:18 -0400 Subject: [PATCH] Add sorting for music albums in an artist's details page (#427) --- CONTRIBUTORS.md | 1 + src/scripts/itembynamedetailpage.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 9ca9b10598..7ee2880dda 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -25,6 +25,7 @@ - [DrPandemic](https://github.com/drpandemic) - [Oddstr13](https://github.com/oddstr13) - [petermcneil](https://github.com/petermcneil) + - [lewazo](https://github.com/lewazo) # Emby Contributors diff --git a/src/scripts/itembynamedetailpage.js b/src/scripts/itembynamedetailpage.js index a80792d175..720c8a1e4e 100644 --- a/src/scripts/itembynamedetailpage.js +++ b/src/scripts/itembynamedetailpage.js @@ -132,7 +132,9 @@ define(["connectionManager", "listView", "cardBuilder", "imageLoader", "libraryB IncludeItemTypes: "MusicAlbum", PersonTypes: "", ArtistIds: "", - AlbumArtistIds: "" + AlbumArtistIds: "", + SortOrder: "Descending", + SortBy: "ProductionYear,Sortname" }, { shape: "square", playFromHere: !0,