summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-07-09 15:00:30 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-07-09 20:28:50 +0000
commita7d4a69898c2d147a1c59d1225ef630f0e77c493 (patch)
treef0b5b474e75868b5978fa3b2d4277e535c6afedc /apps/files
parentb99f061d481147d71527393e52dd986032641836 (diff)
downloadnextcloud-server-a7d4a69898c2d147a1c59d1225ef630f0e77c493.tar.gz
nextcloud-server-a7d4a69898c2d147a1c59d1225ef630f0e77c493.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.js2
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');