mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-04 18:50:23 +02:00
Trim search term
This commit is contained in:
parent
1a9b202afe
commit
b5e5701791
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ private TSpec Get<TSpec>(NewznabRequest query, List<int> indexerIds, bool intera
|
|||
spec.Categories = Array.Empty<int>();
|
||||
}
|
||||
|
||||
spec.SearchTerm = query.q;
|
||||
spec.SearchTerm = query.q?.Trim();
|
||||
spec.SearchType = query.t;
|
||||
spec.Limit = query.limit;
|
||||
spec.Offset = query.offset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue