The Free Software Media System - Server Backend & API
Report Manager - Code fix
Tavares Andréd2a8ca7f5f64
diff --git a/MediaBrowser.Api/Reports/Data/ReportExport.cs b/MediaBrowser.Api/Reports/Data/ReportExport.csindex a8205f42ed..40466f0022 100644--- a/MediaBrowser.Api/Reports/Data/ReportExport.cs+++ b/MediaBrowser.Api/Reports/Data/ReportExport.cs@@ -145,7 +145,9 @@ namespace MediaBrowser.Api.Reportsborder-color: #666666;background-color: #dedede;}-+ table.gridtable tr {+ background-color: #ffffff;+ }table.gridtable td {border-width: 0.1pt;padding: 8px;@@ -160,7 +162,7 @@ namespace MediaBrowser.Api.Reports<head><meta http-equiv='X-UA-Compatible' content='IE=8, IE=9, IE=10' /><meta charset='utf-8'>- <title>Emby Export</title>";+ <title>Emby Reports Export</title>";Html += "\n" + style + "\n";Html += "</head>\n";Html += "<body>\n";@@ -180,7 +182,7 @@ namespace MediaBrowser.Api.Reports{ExportToExcelRow(reportResult, returnValue, row);}- returnValue.AppendLine("<tr style='background-color: white;'>");+ returnValue.AppendLine("<tr>");returnValue.AppendLine("<th scope='rowgroup' colspan='" + reportResult.Headers.Count + "'>" + " " + "</th>");returnValue.AppendLine("</tr>");}diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 5c4aab1e4f..00debc459a 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -135,6 +135,9 @@<Content Include="dashboard-ui\photos.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\ReportManager.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\dashboardhosting.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -153,6 +156,9 @@<Content Include="dashboard-ui\scripts\photos.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\reportmanager.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\selectserver.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>