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),
|
||||
|
|
|
@ -14,7 +14,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
|||
dossiers: Field::HasMany,
|
||||
gestionnaires: Field::HasMany,
|
||||
administrateur: Field::BelongsTo,
|
||||
id: Field::Number,
|
||||
id: Field::Number.with_options(searchable: true),
|
||||
libelle: Field::String,
|
||||
description: Field::String,
|
||||
organisation: Field::String,
|
||||
|
|
Loading…
Reference in a new issue