diff --git a/Plugins/Stats/Helpers/ChatResourceQueryHelper.cs b/Plugins/Stats/Helpers/ChatResourceQueryHelper.cs index a3bb26813..cef328c80 100644 --- a/Plugins/Stats/Helpers/ChatResourceQueryHelper.cs +++ b/Plugins/Stats/Helpers/ChatResourceQueryHelper.cs @@ -56,8 +56,8 @@ namespace Stats.Helpers } var iqMessages = context.Set() - .Where(_message => _message.TimeSent >= query.SentAfter) - .Where(_message => _message.TimeSent < query.SentBefore); + .Where(message => message.TimeSent >= query.SentAfter) + .Where(message => message.TimeSent < query.SentBefore); if (query.ClientId != null) { diff --git a/WebfrontCore/Controllers/Client/ClientController.cs b/WebfrontCore/Controllers/Client/ClientController.cs index bad7b9be8..04396ca0a 100644 --- a/WebfrontCore/Controllers/Client/ClientController.cs +++ b/WebfrontCore/Controllers/Client/ClientController.cs @@ -214,6 +214,8 @@ namespace WebfrontCore.Controllers ViewBag.SearchTerm = clientName; ViewBag.ResultCount = clientsDto.Count; + ViewBag.Title = "Search Results"; + return View("Find/Index", clientsDto); } diff --git a/WebfrontCore/Views/Server/_ClientActivity.cshtml b/WebfrontCore/Views/Server/_ClientActivity.cshtml index daba2e091..5693f12a9 100644 --- a/WebfrontCore/Views/Server/_ClientActivity.cshtml +++ b/WebfrontCore/Views/Server/_ClientActivity.cshtml @@ -22,7 +22,7 @@ } } -
+
@if (groupedClients.Count > 0) {
diff --git a/WebfrontCore/wwwroot/images/community/discord.svg b/WebfrontCore/wwwroot/images/community/discord.svg index 747fff189..cd4cbc95a 100644 --- a/WebfrontCore/wwwroot/images/community/discord.svg +++ b/WebfrontCore/wwwroot/images/community/discord.svg @@ -1,57 +1 @@ - - - - - - - - image/svg+xml - - - - - - - - +discord-icon \ No newline at end of file diff --git a/WebfrontCore/wwwroot/js/server.js b/WebfrontCore/wwwroot/js/server.js index 0621455c1..8f1470c42 100644 --- a/WebfrontCore/wwwroot/js/server.js +++ b/WebfrontCore/wwwroot/js/server.js @@ -106,8 +106,8 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) { display: false }, ticks: { - max: 1, - min: maxClients + 2 + max: 0.5, + min: maxClients + 1 } }] },