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 @@ } -