From f0ef911e61fded8d9f83b0c392d8415061ef5dfa Mon Sep 17 00:00:00 2001 From: Mariusz Chryc Date: Thu, 2 Jan 2020 12:29:41 +0100 Subject: [PATCH] Display year in "Collection" and "More like this" --- src/controllers/itemdetailpage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/itemdetailpage.js b/src/controllers/itemdetailpage.js index 53a36aa862..1dac65750b 100644 --- a/src/controllers/itemdetailpage.js +++ b/src/controllers/itemdetailpage.js @@ -1274,7 +1274,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana coverImage: "MusicAlbum" == item.Type || "MusicArtist" == item.Type, overlayPlayButton: true, overlayText: false, - showYear: "Movie" === item.Type || "Trailer" === item.Type + showYear: "Movie" === item.Type || "Trailer" === item.Type || "Series" === item.Type }); var similarContent = similarCollapsible.querySelector(".similarContent"); similarContent.innerHTML = html; @@ -1740,6 +1740,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana items: items, shape: shape, showTitle: true, + showYear: "Video" === type.mediaType || "Series" === type.type, centerText: true, lazy: true, showDetailsMenu: true,