Skip to content

Commit

Permalink
Update:Show published year on library page when sorting books by publ…
Browse files Browse the repository at this point in the history
…ished year #2017
  • Loading branch information
advplyr committed Aug 23, 2023
1 parent ec15978 commit e0dae44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/components/cards/LazyBookCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e0dae44

Please sign in to comment.