mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
TopLogs will now return the count pass in, reduced to 5000 from 7500 to prevent JsonSerialization issues when being sent to the grid.
Added tests for TopLogs and GetPagedLogs.
This commit is contained in:
parent
73fadac397
commit
070115a59a
3 changed files with 77 additions and 11 deletions
|
@ -35,7 +35,7 @@ namespace NzbDrone.Web.Controllers
|
|||
[GridAction]
|
||||
public ActionResult _TopAjaxBinding()
|
||||
{
|
||||
var logs = _logProvider.TopLogs();
|
||||
var logs = _logProvider.TopLogs(5000);
|
||||
|
||||
return View(new GridModel(logs));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue