mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Log Grid added, using server side filtering, sorting and paging. Using DynamicQueryable.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Web.Mvc;
|
||||
using System.Web.WebPages;
|
||||
using NzbDrone.Web.Helpers;
|
||||
using NzbDrone.Web.Models;
|
||||
|
||||
[assembly: WebActivator.PreApplicationStartMethod(typeof(NzbDrone.Web.App_Start.RegisterDatatablesModelBinder), "Start")]
|
||||
|
||||
namespace NzbDrone.Web.App_Start {
|
||||
public static class RegisterDatatablesModelBinder {
|
||||
public static void Start() {
|
||||
if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams)))
|
||||
ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user