Trim search term

pull/1637/head
Bogdan 2 years ago
parent 1a9b202afe
commit b5e5701791

@ -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…
Cancel
Save