mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
Fix default torznab query
This commit is contained in:
parent
439e9296f9
commit
6f8b1b749d
1 changed files with 3 additions and 1 deletions
|
@ -21,11 +21,13 @@ namespace Jackett.Models.DTO
|
|||
{
|
||||
var query = new TorznabQuery()
|
||||
{
|
||||
QueryType = request.t,
|
||||
QueryType = "search",
|
||||
SearchTerm = request.q,
|
||||
ImdbID = request.imdbid,
|
||||
Episode = request.ep,
|
||||
};
|
||||
if (request.t != null)
|
||||
query.QueryType = request.t;
|
||||
if (!request.extended.IsNullOrEmptyOrWhitespace())
|
||||
query.Extended = ParseUtil.CoerceInt(request.extended);
|
||||
if (!request.limit.IsNullOrEmptyOrWhitespace())
|
||||
|
|
Loading…
Reference in a new issue