From cc3cc4a729f49236f548ecd458bf97346a26a3b7 Mon Sep 17 00:00:00 2001 From: Jon Bloom Date: Wed, 3 Jun 2020 20:41:08 -0400 Subject: [PATCH 1/3] Replace smartquotes in meta info --- src/Ombi/Views/Shared/_Layout.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/Views/Shared/_Layout.cshtml b/src/Ombi/Views/Shared/_Layout.cshtml index 8c39df925..22c6c98f1 100644 --- a/src/Ombi/Views/Shared/_Layout.cshtml +++ b/src/Ombi/Views/Shared/_Layout.cshtml @@ -78,7 +78,7 @@ @appName - + From ab15439a27bdda3c9eb61e218cb689b25bacec63 Mon Sep 17 00:00:00 2001 From: Jamie Rees Date: Thu, 18 Jun 2020 22:19:01 +0100 Subject: [PATCH 2/3] Added images to the search --- src/Ombi.Core/Engine/V2/MultiSearchEngine.cs | 1 + .../Models/Search/V2/MultiSearchResult.cs | 1 + .../src/app/interfaces/ISearchMovieResult.ts | 1 + .../src/app/login/login.component.html | 10 ++++--- .../src/app/my-nav/nav-search.component.html | 27 ++++++++++--------- .../src/app/my-nav/nav-search.component.scss | 16 ++++++++--- 6 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs b/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs index adcf27924..404f775cc 100644 --- a/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs +++ b/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs @@ -63,6 +63,7 @@ namespace Ombi.Core.Engine.V2 var result = new MultiSearchResult { MediaType = multiSearch.media_type, + Poster = multiSearch.poster_path }; if (multiSearch.media_type.Equals("movie", StringComparison.InvariantCultureIgnoreCase)) diff --git a/src/Ombi.Core/Models/Search/V2/MultiSearchResult.cs b/src/Ombi.Core/Models/Search/V2/MultiSearchResult.cs index e514095c9..8346608b5 100644 --- a/src/Ombi.Core/Models/Search/V2/MultiSearchResult.cs +++ b/src/Ombi.Core/Models/Search/V2/MultiSearchResult.cs @@ -5,5 +5,6 @@ public string Id { get; set; } public string MediaType { get; set; } public string Title { get; set; } + public string Poster { get; set; } } } \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/interfaces/ISearchMovieResult.ts b/src/Ombi/ClientApp/src/app/interfaces/ISearchMovieResult.ts index e52bdd8dc..f2460714f 100644 --- a/src/Ombi/ClientApp/src/app/interfaces/ISearchMovieResult.ts +++ b/src/Ombi/ClientApp/src/app/interfaces/ISearchMovieResult.ts @@ -38,6 +38,7 @@ export interface IMultiSearchResult { id: string; mediaType: string; title: string; + poster: string; } export interface ILanguageRefine { diff --git a/src/Ombi/ClientApp/src/app/login/login.component.html b/src/Ombi/ClientApp/src/app/login/login.component.html index fa1241cff..8b0972115 100644 --- a/src/Ombi/ClientApp/src/app/login/login.component.html +++ b/src/Ombi/ClientApp/src/app/login/login.component.html @@ -10,14 +10,16 @@