1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-24 08:45:47 +00:00

Fix TV search for MoreThanTV (#970)

This commit is contained in:
majorearnest 2017-01-21 05:39:12 +00:00 committed by flightlevel
parent e7527ae786
commit 750f857fb7

View file

@ -70,7 +70,7 @@ namespace Jackett.Indexers
public async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
{
var isTv = Array.IndexOf(query.Categories, TorznabCatType.TV.ID) > -1;
var isTv = TorznabCatType.QueryContainsParentCategory(query.Categories, TorznabCatType.TV.ID);
var releases = new List<ReleaseInfo>();
var searchQuery = query.GetQueryString();