mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
Fix:Show episode title on home page shelves #616
This commit is contained in:
@@ -227,6 +227,7 @@ export default {
|
|||||||
return this.collapsedSeries ? this.collapsedSeries.numBooks : 0
|
return this.collapsedSeries ? this.collapsedSeries.numBooks : 0
|
||||||
},
|
},
|
||||||
displayTitle() {
|
displayTitle() {
|
||||||
|
if (this.recentEpisode) return this.recentEpisode.title
|
||||||
if (this.orderBy === 'media.metadata.title' && this.sortingIgnorePrefix && this.title.toLowerCase().startsWith('the ')) {
|
if (this.orderBy === 'media.metadata.title' && this.sortingIgnorePrefix && this.title.toLowerCase().startsWith('the ')) {
|
||||||
return this.title.substr(4) + ', The'
|
return this.title.substr(4) + ', The'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user