Update nordicb.org - categoryList for search (#3568)

I made some copy-paste errors, while building the categoryList.
Because of this - the seach string for Apps & Ebooks won't be builded correctly.
Fixed
This commit is contained in:
hallengreenn 2018-08-12 08:50:43 +02:00 committed by flightlevel
parent 31ae08544f
commit 2e77226f0c
1 changed files with 2 additions and 2 deletions

View File

@ -476,12 +476,12 @@ namespace Jackett.Common.Indexers
for (int i = 0; i < categoriesList.Count; i++) for (int i = 0; i < categoriesList.Count; i++)
{ {
// APPS // APPS
if (new[] { "28", "60", "4", "59", "1", "61" }.Any(c => categoriesList[i].Contains(categoriesList[i]))) if (new[] { "63", "17", "12", "62", "64" }.Any(c => categoriesList[i].Contains(categoriesList[i])))
{ {
categoriesList[i] = categoriesList[i].Replace("cat=", "cats5[]="); categoriesList[i] = categoriesList[i].Replace("cat=", "cats5[]=");
} }
// Books // Books
if (new[] { "28", "60", "4", "59", "1", "61" }.Any(c => categoriesList[i].Contains(categoriesList[i]))) if (new[] { "54", "9" }.Any(c => categoriesList[i].Contains(categoriesList[i])))
{ {
categoriesList[i] = categoriesList[i].Replace("cat=", "cats6[]="); categoriesList[i] = categoriesList[i].Replace("cat=", "cats6[]=");
} }