diff options
author | Robin Appelman <robin@icewind.nl> | 2020-07-09 15:00:30 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-07-09 20:28:50 +0000 |
commit | a7d4a69898c2d147a1c59d1225ef630f0e77c493 (patch) | |
tree | f0b5b474e75868b5978fa3b2d4277e535c6afedc /apps/files | |
parent | b99f061d481147d71527393e52dd986032641836 (diff) | |
download | nextcloud-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.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'); |