mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
BUGFIX: Chinese search was broken
BUGFIX: User locale was used index data BUGFIX: missing Norwegian fulltext config FEATURE: store the text used to index stuff in fulltext (for diagnostics / in page search) FEATURE: re-index posts when locale changes (in bg job) FEATURE: allow reindexing by trucating post_search_data Note: I removed japanese specific config cause it requires custom pg config, happy to add it once our base docker config ships with it
This commit is contained in:
parent
51ff644409
commit
3c84876660
8 changed files with 134 additions and 16 deletions
|
@ -77,6 +77,10 @@ class SqlBuilder
|
|||
16 => :value_to_boolean
|
||||
}
|
||||
|
||||
def self.map_exec(klass, sql, args = {})
|
||||
self.new(sql).map_exec(klass, args)
|
||||
end
|
||||
|
||||
def map_exec(klass = OpenStruct, args = {})
|
||||
results = exec(args)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue