mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 14:11:16 +08:00
FEATURE: the ability to search users by custom fields (#12762)
When the admin creates a new custom field they can specify if that field should be searchable or not. That setting is taken into consideration for quick search results.
This commit is contained in:

committed by
GitHub

parent
8aeeadd8b0
commit
e29605b79f
@ -3,7 +3,7 @@
|
||||
class Admin::UserFieldsController < Admin::AdminController
|
||||
|
||||
def self.columns
|
||||
[:name, :field_type, :editable, :description, :required, :show_on_profile, :show_on_user_card, :position]
|
||||
%i(name field_type editable description required show_on_profile show_on_user_card position searchable)
|
||||
end
|
||||
|
||||
def create
|
||||
|
Reference in New Issue
Block a user