diff --git a/app/dashboards/dossier_dashboard.rb b/app/dashboards/dossier_dashboard.rb index 67b4ec88c..55a1de1ac 100644 --- a/app/dashboards/dossier_dashboard.rb +++ b/app/dashboards/dossier_dashboard.rb @@ -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), diff --git a/app/dashboards/procedure_dashboard.rb b/app/dashboards/procedure_dashboard.rb index 0d18c8635..1867d4404 100644 --- a/app/dashboards/procedure_dashboard.rb +++ b/app/dashboards/procedure_dashboard.rb @@ -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,