diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-07-09 19:19:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 19:19:39 +0200 |
commit | c354f6d2ebfc348a94b9cadb12257b973dafff88 (patch) | |
tree | 534b2857aabd0db5bda290445f7a90eb2ba0c1cd /core | |
parent | 85486a5cc87079c6816d9e36d32b4bda308d55f1 (diff) | |
parent | 68e87c72690aa79a92e0448849b77467a6481890 (diff) | |
download | nextcloud-server-c354f6d2ebfc348a94b9cadb12257b973dafff88.tar.gz nextcloud-server-c354f6d2ebfc348a94b9cadb12257b973dafff88.zip |
Merge pull request #21777 from nextcloud/search-min-length
lower minimum search length to 2 characters
Diffstat (limited to 'core')
-rw-r--r-- | core/search/js/searchprovider.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/search/js/searchprovider.js b/core/search/js/searchprovider.js index 1ba7d63b3fe..efd44d2784a 100644 --- a/core/search/js/searchprovider.js +++ b/core/search/js/searchprovider.js @@ -385,7 +385,7 @@ function(query) { if (lastQuery !== query) { currentResult = -1; - if (query.length > 2) { + if (query.length > 1) { self.search(query); } else { self.hideResults(); |