manager: make resources searchable by id
This commit is contained in:
parent
5c6fa992f8
commit
f6c83cae1f
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class DossierDashboard < Administrate::BaseDashboard
|
|||
# which determines how the attribute is displayed
|
||||
# on pages throughout the dashboard.
|
||||
ATTRIBUTE_TYPES = {
|
||||
id: Field::Number,
|
||||
id: Field::Number.with_options(searchable: true),
|
||||
procedure: Field::HasOne,
|
||||
state: Field::String,
|
||||
text_summary: Field::String.with_options(searchable: false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue