diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index ecf9ed5017..e299682672 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -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(), { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index a6d589ddfc..26ec5ea8c2 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1294,7 +1294,7 @@ if (linkToGallery) { html += ""; } - + html += ""; 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) {