From e0dae44c7df4631fc120d8aa8d375e7adfaaee40 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 23 Aug 2023 18:01:58 -0500 Subject: [PATCH] Update:Show published year on library page when sorting books by published year #2017 --- client/components/cards/LazyBookCard.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index 8045f504..6bb5a401 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -318,6 +318,7 @@ export default { if (this.orderBy === 'media.duration') return 'Duration: ' + this.$elapsedPrettyExtended(this.media.duration, false) if (this.orderBy === 'size') return 'Size: ' + this.$bytesPretty(this._libraryItem.size) if (this.orderBy === 'media.numTracks') return `${this.numEpisodes} Episodes` + if (this.orderBy === 'media.metadata.publishedYear' && this.mediaMetadata.publishedYear) return 'Published ' + this.mediaMetadata.publishedYear return null }, episodeProgress() {