diff --git a/NzbDrone.Api/Logs/LogModule.cs b/NzbDrone.Api/Logs/LogModule.cs index e1c39d92b..59ea4975d 100644 --- a/NzbDrone.Api/Logs/LogModule.cs +++ b/NzbDrone.Api/Logs/LogModule.cs @@ -17,6 +17,12 @@ public LogModule(ILogService logService) private PagingResource GetLogs(PagingResource pagingResource) { var pageSpec = pagingResource.InjectTo>(); + + if (pageSpec.SortKey == "time") + { + pageSpec.SortKey = "id"; + } + return ApplyToPage(_logService.Paged, pageSpec); } }