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:
authorRobin Appelman <robin@icewind.nl>2020-07-09 16:00:30 +0300
committerRobin Appelman <robin@icewind.nl>2020-07-09 16:00:30 +0300
commit68e87c72690aa79a92e0448849b77467a6481890 (patch)
tree78d86b6f40b89b578d2b2044a354db35348b2413 /core
parent18acb137d3b973f04ee039fd4a4e8ed1bca25127 (diff)
lower minimum search length to 2 characters
Signed-off-by: Robin Appelman <robin@icewind.nl>
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();