mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 09:16:52 +08:00
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.
6 lines
135 B
Ruby
6 lines
135 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SearchResultUserSerializer < BasicUserSerializer
|
|
attributes :name
|
|
attributes :custom_data
|
|
end
|