Change min. characters required for logged-out account search from 5 to 3 (#36487)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2025-10-27 15:52:21 +00:00
1 parent e8382c7332
commit 1dead10312
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ class AccountSearchService < BaseService
MENTION_ONLY_RE = /\A#{Account::MENTION_RE}\z/i
# Min. number of characters to look for non-exact matches
MIN_QUERY_LENGTH = 5
MIN_QUERY_LENGTH = 3
class QueryBuilder
def initialize(query, account, options = {})