1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

anidex: fix search by language. resolves #10930 (#10932)

also updated group_id
This commit is contained in:
ilike2burnthing 2021-01-25 23:59:11 +00:00 committed by GitHub
parent 52711792d8
commit 4945f98573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,6 +123,8 @@ namespace Jackett.Common.Indexers
configData.AddDynamic("orderrequestedfromsite", orderSelect);
}
private string GetLang => ((SelectItem)configData.GetDynamic("languageid")).Value;
private string GetSortBy => ((SelectItem)configData.GetDynamic("sortrequestedfromsite")).Value;
private string GetOrder => ((SelectItem)configData.GetDynamic("orderrequestedfromsite")).Value;
@ -148,7 +150,8 @@ namespace Jackett.Common.Indexers
{ "q", query.SearchTerm ?? string.Empty },
{ "s", GetSortBy },
{ "o", GetOrder },
{ "group", "0" } // No group
{ "lang_id", GetLang },
{ "group_id", "0" } // No group
};
// Get specified categories