diff options
author | Robin Appelman <robin@icewind.nl> | 2020-07-09 15:00:30 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-07-09 15:00:30 +0200 |
commit | 68e87c72690aa79a92e0448849b77467a6481890 (patch) | |
tree | 78d86b6f40b89b578d2b2044a354db35348b2413 /apps/files | |
parent | 18acb137d3b973f04ee039fd4a4e8ed1bca25127 (diff) | |
download | nextcloud-server-68e87c72690aa79a92e0448849b77467a6481890.tar.gz nextcloud-server-68e87c72690aa79a92e0448849b77467a6481890.zip |
lower minimum search length to 2 characters
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/search.js b/apps/files/js/search.js index 4df79055f5c..66899c09150 100644 --- a/apps/files/js/search.js +++ b/apps/files/js/search.js @@ -146,7 +146,7 @@ search.setFilter('files', function (query) { if (self.fileAppLoaded()) { self.fileList.setFilter(query); - if (query.length > 2) { + if (query.length > 1) { //search is not started until 500msec have passed window.setTimeout(function() { $('.nofilterresults').addClass('hidden'); |