diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2022-11-14 19:59:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 19:59:38 -0800 |
commit | ccb30e7825dd0ff163613f8db9f6558ab33c8592 (patch) | |
tree | 260b64c3188572b93bfab75766ab5e844784e44e /core | |
parent | ad446daae00f7618a33c89c5bcc52f923dce35c9 (diff) | |
parent | 6c09155e13826f978ddff906c77e9711b1563ac6 (diff) | |
download | nextcloud-server-ccb30e7825dd0ff163613f8db9f6558ab33c8592.tar.gz nextcloud-server-ccb30e7825dd0ff163613f8db9f6558ab33c8592.zip |
Merge pull request #35091 from nextcloud/enh/a11y-single-char-search
Allow single character search by default
Diffstat (limited to 'core')
-rw-r--r-- | core/src/services/UnifiedSearchService.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/services/UnifiedSearchService.js b/core/src/services/UnifiedSearchService.js index f365a378e0c..3c673479771 100644 --- a/core/src/services/UnifiedSearchService.js +++ b/core/src/services/UnifiedSearchService.js @@ -28,7 +28,7 @@ import { loadState } from '@nextcloud/initial-state' import axios from '@nextcloud/axios' export const defaultLimit = loadState('unified-search', 'limit-default') -export const minSearchLength = loadState('unified-search', 'min-search-length', 2) +export const minSearchLength = loadState('unified-search', 'min-search-length', 1) export const enableLiveSearch = loadState('unified-search', 'live-search', true) export const regexFilterIn = /(^|\s)in:([a-z_-]+)/ig |