From 908ee7d2cebe4cc2d6495117cf89e8dc36522199 Mon Sep 17 00:00:00 2001 From: mgdigital Date: Tue, 6 Feb 2024 20:22:30 +0000 Subject: [PATCH] Torznab imdbid optimization (#129) --- internal/torznab/adapter/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/torznab/adapter/search.go b/internal/torznab/adapter/search.go index a409ad1e..973c3bce 100644 --- a/internal/torznab/adapter/search.go +++ b/internal/torznab/adapter/search.go @@ -124,7 +124,7 @@ func (a adapter) searchRequestOptions(r torznab.SearchRequest) ([]query.Option, ID: imdbId, }) } - options = append(options, query.Where(search.ContentIdentifierCriteria(refs...))) + options = append(options, query.Where(search.ContentAlternativeIdentifierCriteria(refs...))) } limit := a.defaultLimit if r.Limit.Valid {