mirror of https://github.com/Jackett/Jackett
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:
parent
31ae08544f
commit
2e77226f0c
|
@ -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[]=");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue