|
@@ -9,7 +9,6 @@ using InABox.Clients;
|
|
|
using InABox.Core;
|
|
|
using InABox.DynamicGrid;
|
|
|
using InABox.WPF;
|
|
|
-using NPOI.SS.Formula.Functions;
|
|
|
|
|
|
namespace PRSDesktop
|
|
|
{
|
|
@@ -24,8 +23,7 @@ namespace PRSDesktop
|
|
|
HiddenColumns.Add(x => x.ManagerLink.Deleted);
|
|
|
|
|
|
Options.Add(DynamicGridOption.SelectColumns);
|
|
|
- Options.Add(DynamicGridOption.FilterRows);
|
|
|
-
|
|
|
+ Options.Add(DynamicGridOption.FilterRows);
|
|
|
|
|
|
OnCustomiseEditor += CustomiseEditor;
|
|
|
OnBeforeSave += BeforeSave;
|
|
@@ -215,6 +213,9 @@ namespace PRSDesktop
|
|
|
{
|
|
|
if (Host.ParentID != Guid.Empty)
|
|
|
criteria.Add(new Filter<Kanban>(x => x.JobLink.ID).IsEqualTo(Host.ParentID));
|
|
|
+
|
|
|
+ criteria.Add(new Filter<Kanban>(x => x.Created).IsGreaterThanOrEqualTo(DateTime.Now.AddDays(-365)));
|
|
|
+
|
|
|
base.Reload(criteria, columns, ref sort, action);
|
|
|
}
|
|
|
|