diff --git a/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs b/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs index db7e455c7..c37b6b4a4 100644 --- a/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs +++ b/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs @@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.Sorting return userdata.LastPlayedDate.Value; } - return DateTime.MaxValue; + return DateTime.MinValue; } /// diff --git a/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs b/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs index fcbc58987..ef589e1fa 100644 --- a/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs +++ b/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs @@ -37,7 +37,7 @@ namespace MediaBrowser.Server.Implementations.Sorting { return new DateTime(x.ProductionYear.Value, 1, 1, 0, 0, 0, DateTimeKind.Utc); } - return DateTime.MaxValue; + return DateTime.MinValue; } /// diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs index 5e3ade186..b80b1bffd 100644 --- a/MediaBrowser.WebDashboard/Api/DashboardService.cs +++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs @@ -459,6 +459,7 @@ namespace MediaBrowser.WebDashboard.Api "addpluginpage.js", "advancedconfigurationpage.js", "advancedmetadataconfigurationpage.js", + "boxsets.js", "plugincatalogpage.js", "dashboardpage.js", "displaysettingspage.js", @@ -467,6 +468,7 @@ namespace MediaBrowser.WebDashboard.Api "itembynamedetailpage.js", "itemdetailpage.js", "itemlistpage.js", + "librarybrowser.js", "loginpage.js", "logpage.js", "medialibrarypage.js", @@ -480,6 +482,7 @@ namespace MediaBrowser.WebDashboard.Api "scheduledtaskpage.js", "scheduledtaskspage.js", "tvrecommended.js", + "tvshows.js", "updatepasswordpage.js", "userimagepage.js", "userprofilespage.js", diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 1dbffdbbf..d3c522fbf 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -84,6 +84,9 @@ + + PreserveNewest + PreserveNewest @@ -186,9 +189,15 @@ PreserveNewest + + PreserveNewest + PreserveNewest + + PreserveNewest + PreserveNewest @@ -221,6 +230,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -233,6 +245,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest