mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
FIX: don't stem the search term
Search for "canned" not working correctly and "butted", "ands" and many more :)
This commit is contained in:
@ -663,7 +663,7 @@ class Search
|
||||
def self.ts_query(term, locale = nil, joiner = "&")
|
||||
|
||||
data = Post.exec_sql("SELECT to_tsvector(:locale, :term)",
|
||||
locale: locale || long_locale,
|
||||
locale: 'simple',
|
||||
term: term
|
||||
).values[0][0]
|
||||
|
||||
|
Reference in New Issue
Block a user