diff --git a/WebCms/App_Data/Models/all.dll.path b/WebCms/App_Data/Models/all.dll.path
index 4c89901..6e2e3d6 100644
--- a/WebCms/App_Data/Models/all.dll.path
+++ b/WebCms/App_Data/Models/all.dll.path
@@ -1 +1 @@
-C:\Users\poprhythm\AppData\Local\Temp\Temporary ASP.NET Files\vs\f80e29bb\faae20bf\App_Web_all.generated.cs.8f9494c4.kctsiwr3.dll
\ No newline at end of file
+C:\Users\poprhythm\AppData\Local\Temp\Temporary ASP.NET Files\vs\f80e29bb\faae20bf\App_Web_all.generated.cs.8f9494c4.rzzuwtuu.dll
\ No newline at end of file
diff --git a/WebCms/App_Start/RegisterServices.cs b/WebCms/App_Start/RegisterServices.cs
index c318f15..0c2b66f 100644
--- a/WebCms/App_Start/RegisterServices.cs
+++ b/WebCms/App_Start/RegisterServices.cs
@@ -24,14 +24,7 @@ namespace LeafWeb.WebCms.App_Start
"Results/Download", // URL with parameters
new { controller = "Results", action = "Download" } // Parameter defaults
);
-
- // route for downloading results
- RouteTable.Routes.MapRoute(
- "NotifyComplete", // Route name
- "LeafInput/NotifyComplete", // URL with parameters
- new { controller = "LeafInput", action = "NotifyComplete" } // Parameter defaults
- );
-
+
base.ApplicationStarted(umbracoApplication, applicationContext);
}
}
diff --git a/WebCms/Controllers/ResultsController.cs b/WebCms/Controllers/ResultsController.cs
index 2495509..8439bad 100644
--- a/WebCms/Controllers/ResultsController.cs
+++ b/WebCms/Controllers/ResultsController.cs
@@ -1,3 +1,4 @@
+using System;
using System.Linq;
using System.Web.Mvc;
using LeafWeb.Core.Entities;
@@ -10,10 +11,14 @@ namespace LeafWeb.WebCms.Controllers
{
public ActionResult Index()
{
+ var dateThreshold = DateTime.Today.Subtract(TimeSpan.FromDays(90));
var viewModel =
- DataService.GetLeafInputs()
- .OrderByDescending(f => f.Id)
- .ToList()
+ (
+ from li in DataService.GetLeafInputs()
+ where li.Added >= dateThreshold
+ orderby li.Id descending
+ select li
+ ).ToList()
.Select(leafInput => new ResultItemViewModel(leafInput));
return View(viewModel);
}
diff --git a/WebCms/Views/Web.config b/WebCms/Views/Web.config
index c597137..3409c58 100644
--- a/WebCms/Views/Web.config
+++ b/WebCms/Views/Web.config
@@ -13,6 +13,7 @@
+