Newpct: correct Category filter. resolves #5121 (#5163)

Some categories were not well filtered
This commit is contained in:
snamds 2019-05-01 21:15:45 +02:00 committed by garfield69
parent 02546877fd
commit d8b4ad7f39
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ namespace Jackett.Common.Indexers
private int _maxDailyPages = 7;
private int _maxMoviesPages = 30;
private int _maxEpisodesListPages = 100;
private int[] _allTvCategories = TorznabCatType.TV.SubCategories.Select(c => c.ID).ToArray();
private int[] _allMoviesCategories = TorznabCatType.Movies.SubCategories.Select(c => c.ID).ToArray();
private int[] _allTvCategories = (new TorznabCategory[] { TorznabCatType.TV }).Concat(TorznabCatType.TV.SubCategories).Select(c => c.ID).ToArray();
private int[] _allMoviesCategories = (new TorznabCategory[] { TorznabCatType.Movies }).Concat(TorznabCatType.Movies.SubCategories).Select(c => c.ID).ToArray();
private bool _includeVo;
private bool _filterMovies;