mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Log Grid added, using server side filtering, sorting and paging. Using DynamicQueryable.
This commit is contained in:
parent
ca5888160d
commit
9c24b5989b
16 changed files with 4886 additions and 64 deletions
34
NzbDrone.Web/Models/DataTablesParams.cs
Normal file
34
NzbDrone.Web/Models/DataTablesParams.cs
Normal file
|
@ -0,0 +1,34 @@
|
|||
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