mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Search in non-english should have a smaller minimum
This commit is contained in:
parent
fd3a8583dd
commit
cc366d5a60
2 changed files with 3 additions and 1 deletions
|
@ -178,7 +178,7 @@ class Search
|
|||
@valid = false
|
||||
return
|
||||
end
|
||||
@term = terms.join(' ')
|
||||
@term = terms.join(' ') if @term.include?(' ')
|
||||
end
|
||||
|
||||
# If the term is a number or url to a topic, just include that topic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue