Skip to content

🎧 Your Personal Streaming Service

Fix album sorting in Artist page

Deluan33717f26d490
diff --git a/ui/src/artist/ArtistShow.js b/ui/src/artist/ArtistShow.js
index 60a57e4d9..6e317afcf 100644
--- a/ui/src/artist/ArtistShow.js
+++ b/ui/src/artist/ArtistShow.js
@@ -60,7 +60,7 @@ const AlbumShowLayout = (props) => {
addLabel={false}
reference="album"
target="artist_id"
- sort={{ field: 'max_year asc,date asc', order: 'ASC' }}
+ sort={{ field: 'max_year', order: 'ASC' }}
filter={{ artist_id: record?.id }}
perPage={0}
pagination={null}