From 1822fdf4499fb01b96eed5f2af6e5644d4e76e72 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 7 Mar 2018 23:03:46 +0100 Subject: [PATCH] Fix #116: On artist page, albums are not sorted by release date, if any --- changes/changelog.d/116.feature | 1 + front/src/components/audio/album/Card.vue | 9 +++++---- front/src/components/library/Artist.vue | 7 ++++++- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 changes/changelog.d/116.feature diff --git a/changes/changelog.d/116.feature b/changes/changelog.d/116.feature new file mode 100644 index 000000000..e17343401 --- /dev/null +++ b/changes/changelog.d/116.feature @@ -0,0 +1 @@ +On artist page, albums are not sorted by release date, if any (#116) diff --git a/front/src/components/audio/album/Card.vue b/front/src/components/audio/album/Card.vue index ea42f06a8..bb37b2b2f 100644 --- a/front/src/components/audio/album/Card.vue +++ b/front/src/components/audio/album/Card.vue @@ -6,12 +6,13 @@
- {{ album.title }} + {{ album.title }}
- By - {{ album.artist.name }} - + + By + {{ album.artist.name }} + – {{ album.release_date | year }}
diff --git a/front/src/components/library/Artist.vue b/front/src/components/library/Artist.vue index 7724428ca..9a546aa0e 100644 --- a/front/src/components/library/Artist.vue +++ b/front/src/components/library/Artist.vue @@ -31,7 +31,7 @@

Albums by this artist

-
+
@@ -41,6 +41,7 @@