mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
trim search requests
This commit is contained in:
parent
4983a0b749
commit
b9b228e2d8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
ApiClient.getSearchHints({
|
ApiClient.getSearchHints({
|
||||||
|
|
||||||
userId: Dashboard.getCurrentUserId(),
|
userId: Dashboard.getCurrentUserId(),
|
||||||
searchTerm: searchTerm,
|
searchTerm: (searchTerm || '').trim(),
|
||||||
limit: 30
|
limit: 30
|
||||||
|
|
||||||
}).then(function (result) {
|
}).then(function (result) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue