From 1f206766ab7f86f3a55b287e7ae85873d695fbb0 Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Tue, 18 Aug 2020 11:07:59 +0100 Subject: [PATCH] Fixed log viewer level filter by correcting binding for provided array of selected values to filter by. --- src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs b/src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs index 258c3817aa..a25d0aaa52 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs @@ -80,7 +80,7 @@ namespace Umbraco.Web.BackOffice.Controllers } [HttpGet] - public PagedResult GetLogs(string orderDirection = "Descending", int pageNumber = 1, string filterExpression = null, [FromQuery]string[] logLevels = null, [FromQuery] DateTime? startDate = null,[FromQuery] DateTime? endDate = null) + public PagedResult GetLogs(string orderDirection = "Descending", int pageNumber = 1, string filterExpression = null, [FromQuery(Name = "logLevels[]")]string[] logLevels = null, [FromQuery]DateTime? startDate = null, [FromQuery]DateTime? endDate = null) { var logTimePeriod = GetTimePeriod(startDate, endDate);