mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04: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 @@ namespace NzbDrone.Core.IndexerSearch
|
|||
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…
Add table
Add a link
Reference in a new issue