mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
Change min. characters required for logged-out account search from 5 to 3 (#36487)
This commit is contained in:
parent
e8382c7332
commit
1dead10312
|
|
@ -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 = {})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user