mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
DataTables.Mvc added.
Removed old model binding for DataTablesParams (Logs no uses the one from DataTables.Mvc)
This commit is contained in:
parent
2aedc48203
commit
e6712e5aa2
11 changed files with 45 additions and 92 deletions
|
@ -1,34 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class DataTablesParams
|
||||
{
|
||||
public int iDisplayStart { get; set; }
|
||||
public int iDisplayLength { get; set; }
|
||||
public int iColumns { get; set; }
|
||||
public string sSearch { get; set; }
|
||||
public bool bEscapeRegex { get; set; }
|
||||
public int iSortingCols { get; set; }
|
||||
public int sEcho { get; set; }
|
||||
public List<bool> bSortable { get; set; }
|
||||
public List<bool> bSearchable { get; set; }
|
||||
public List<string> sSearchColumns { get; set; }
|
||||
public List<int> iSortCol { get; set; }
|
||||
public List<string> sSortDir { get; set; }
|
||||
public List<bool> bEscapeRegexColumns { get; set; }
|
||||
|
||||
public DataTablesParams()
|
||||
{
|
||||
bSortable = new List<bool>();
|
||||
bSearchable = new List<bool>();
|
||||
sSearchColumns = new List<string>();
|
||||
iSortCol = new List<int>();
|
||||
sSortDir = new List<string>();
|
||||
bEscapeRegexColumns = new List<bool>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue