udpate paginazione dati solo decina apgine correnti

This commit is contained in:
Samuele Locatelli
2021-09-13 18:05:43 +02:00
parent 48ee4dcdae
commit 6940a68c0c
5 changed files with 184 additions and 132 deletions
+2 -2
View File
@@ -9,7 +9,6 @@ namespace MP.Prog.Data
{
#region Public Properties
public string CodArticolo { get; set; } = "";
public DateTime DateEnd { get; set; } = DateTime.Now.AddMinutes(1);
public DateTime DateStart { get; set; } = DateTime.Now.AddDays(-7);
@@ -32,6 +31,7 @@ namespace MP.Prog.Data
public int PageNum { get; set; } = 1;
public int PageSize { get; set; } = 10;
public string SearchVal { get; set; } = "";
#endregion Public Properties
@@ -69,7 +69,7 @@ namespace MP.Prog.Data
return false;
if (OnlyMod != item.OnlyMod)
return false;
if (CodArticolo != item.CodArticolo)
if (SearchVal != item.SearchVal)
return false;
if (IdxMacchina != item.IdxMacchina)
return false;