fixed movie year display
This commit is contained in:
@@ -377,7 +377,8 @@
|
||||
}
|
||||
|
||||
function renderChildren(page, item) {
|
||||
var sortBy = item.Type == "Boxset" ? "ProductionYear,SortName" : "SortName";
|
||||
|
||||
var sortBy = item.Type == "BoxSet" ? "ProductionYear,SortName" : "SortName";
|
||||
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), {
|
||||
|
||||
|
||||
@@ -1294,7 +1294,7 @@
|
||||
if (linkToGallery) {
|
||||
html += "<a class='itemDetailGalleryLink' href='" + href + "'>";
|
||||
}
|
||||
|
||||
|
||||
html += "<img class='itemDetailImage' src='" + url + "' />";
|
||||
|
||||
if (linkToGallery) {
|
||||
@@ -1357,7 +1357,7 @@
|
||||
else if (item.PremiereDate) {
|
||||
|
||||
try {
|
||||
text = "-" + parseISO8601Date(item.PremiereDate, { toLocal: true }).getFullYear();
|
||||
text = parseISO8601Date(item.PremiereDate, { toLocal: true }).getFullYear();
|
||||
miscInfo.push(text);
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user