Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-07-09 20:19:39 +0300
committerGitHub <noreply@github.com>2020-07-09 20:19:39 +0300
commitc354f6d2ebfc348a94b9cadb12257b973dafff88 (patch)
tree534b2857aabd0db5bda290445f7a90eb2ba0c1cd /core
parent85486a5cc87079c6816d9e36d32b4bda308d55f1 (diff)
parent68e87c72690aa79a92e0448849b77467a6481890 (diff)
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.js2
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();