From f00aedb54241a0208d792d01bc8b0c23855ed828 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 11 Dec 2021 03:57:31 +0000 Subject: [PATCH] alpharatio: re-enable searching by season only. resolves #12693 (#12694) --- src/Jackett.Common/Indexers/AlphaRatio.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Jackett.Common/Indexers/AlphaRatio.cs b/src/Jackett.Common/Indexers/AlphaRatio.cs index 45b5fb535..f49753747 100644 --- a/src/Jackett.Common/Indexers/AlphaRatio.cs +++ b/src/Jackett.Common/Indexers/AlphaRatio.cs @@ -72,16 +72,8 @@ namespace Jackett.Common.Indexers AddCategoryMapping(30, TorznabCatType.Other, "Misc"); } - protected override string GetSearchTerm(TorznabQuery query) - { - // Ignore season search without episode. Alpharatio doesn't support it. - var searchTerm = string.IsNullOrWhiteSpace(query.Episode) - ? query.SanitizedSearchTerm - : query.GetQueryString(); - - // Alpharatio can't handle dots in the searchstr - return searchTerm.Replace(".", " "); - } + // Alpharatio can't handle dots in the searchstr + protected override string GetSearchTerm(TorznabQuery query) => query.GetQueryString().Replace(".", " "); protected override async Task> PerformQuery(TorznabQuery query) {