From 31cad994ba41d56a7cd6be1556b4b3158e2aa182 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 5 Aug 2020 22:40:27 +0100 Subject: [PATCH] Fixed: Remove disambiguation from search --- .../IndexerSearch/Definitions/BookSearchCriteria.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/IndexerSearch/Definitions/BookSearchCriteria.cs b/src/NzbDrone.Core/IndexerSearch/Definitions/BookSearchCriteria.cs index d569d9ac7..9d27a95b3 100644 --- a/src/NzbDrone.Core/IndexerSearch/Definitions/BookSearchCriteria.cs +++ b/src/NzbDrone.Core/IndexerSearch/Definitions/BookSearchCriteria.cs @@ -9,11 +9,11 @@ public class BookSearchCriteria : SearchCriteriaBase public string BookIsbn { get; set; } public string Disambiguation { get; set; } - public string BookQuery => GetQueryTitle($"{BookTitle}{(Disambiguation.IsNullOrWhiteSpace() ? string.Empty : $"+{Disambiguation}")}"); + public string BookQuery => GetQueryTitle($"{BookTitle}"); public override string ToString() { - return $"[{Author.Name} - {BookTitle}{(Disambiguation.IsNullOrWhiteSpace() ? string.Empty : $" ({Disambiguation})")} ({BookYear})]"; + return $"[{Author.Name} - {BookTitle} ({BookYear})]"; } } }