A platform for community discussion. Free, open, simple.
FIX: typo in search comment (#37457)
Keegan Georgea8bc6b7b37c3
diff --git a/lib/search.rb b/lib/search.rbindex 78c3e1d9e72..9cf03c04de2 100644--- a/lib/search.rb+++ b/lib/search.rb@@ -1114,7 +1114,7 @@ class Searchdef user_searchreturn if SiteSetting.hide_user_profiles_from_public && [email protected]- # Exlude B weight from search which is the weight `User#name` is indexed with in `SearchIndexer.update_users_index`+ # Exclude B weight from search which is the weight `User#name` is indexed with in `SearchIndexer.update_users_index`query = ts_query("simple", weight_filter: SiteSetting.enable_names ? nil : "AC")users =