By default Administrate Gem gives us a feature where we can search record by name. But now I am trying to search record by ID in search bar of admin Dashboard, like this
ATTRIBUTE_TYPES = {
id: Field::Number,
name: Field::String,
}.freeze
But I am not able to search records by its ID, I try this but didn't work
ATTRIBUTE_TYPES = {
id: Field::Number.with_options(searchable: true),
name: Field::String,
}.freeze
I am expecting to serach records by two things, like ID and Name also