From d17c0ef88ada9be7c8e989c2d3144517c05f1b34 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Fri, 20 Jan 2017 16:07:52 +0000 Subject: [PATCH] Done #924 --- Ombi.UI/Content/search.js | 7 ++++--- Ombi.UI/Views/Search/Index.cshtml | 7 +++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Ombi.UI/Content/search.js b/Ombi.UI/Content/search.js index 14f675562..b8f9f5504 100644 --- a/Ombi.UI/Content/search.js +++ b/Ombi.UI/Content/search.js @@ -480,7 +480,7 @@ $(function () { var date = new Date(result.firstAired); var year = date.getFullYear(); var context = { - status : result.status, + status: result.status, posterPath: result.banner, id: result.id, title: result.seriesName, @@ -499,8 +499,9 @@ $(function () { disableTvRequestsBySeason: result.disableTvRequestsBySeason, enableTvRequestsForOnlySeries: result.enableTvRequestsForOnlySeries, trailer: result.trailer, - homepage: result.homepage - }; + homepage: result.homepage, + firstAired: Humanize(result.firstAired) + }; return context; } diff --git a/Ombi.UI/Views/Search/Index.cshtml b/Ombi.UI/Views/Search/Index.cshtml index ec31261e1..efb9228ad 100644 --- a/Ombi.UI/Views/Search/Index.cshtml +++ b/Ombi.UI/Views/Search/Index.cshtml @@ -118,7 +118,7 @@ } -