From 3a5d99921eff949b457e56015d716a99966794dc Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 24 Jan 2012 17:21:20 -0800 Subject: [PATCH] New: Backlog can now be controlled per series. Applies to Backlog and RecentBacklog jobs. Editable in Series/MassEdit and Series Edit. Added RecentBacklog button to Missing view, with mouse over description. --- NzbDrone.Web/Controllers/CommandController.cs | 6 ++++++ NzbDrone.Web/Views/Missing/Index.cshtml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Web/Controllers/CommandController.cs b/NzbDrone.Web/Controllers/CommandController.cs index aedf1a036..a9f7bb05c 100644 --- a/NzbDrone.Web/Controllers/CommandController.cs +++ b/NzbDrone.Web/Controllers/CommandController.cs @@ -34,6 +34,12 @@ namespace NzbDrone.Web.Controllers return JsonNotificationResult.Info("Queued"); } + public JsonResult RecentBacklogSearch() + { + _jobProvider.QueueJob(typeof(RecentBacklogSearchJob)); + return JsonNotificationResult.Info("Queued"); + } + public JsonResult ScanDisk(int seriesId) { _jobProvider.QueueJob(typeof(DiskScanJob), seriesId); diff --git a/NzbDrone.Web/Views/Missing/Index.cshtml b/NzbDrone.Web/Views/Missing/Index.cshtml index a0bf3ce6e..6ffbc29d0 100644 --- a/NzbDrone.Web/Views/Missing/Index.cshtml +++ b/NzbDrone.Web/Views/Missing/Index.cshtml @@ -9,7 +9,8 @@ @section ActionMenu{ } @{Html.Telerik().Grid().Name("missing")