feat(manager): display hidden_by_user_at and hidden_by_administration_at in manager views

This commit is contained in:
Paul Chavard 2022-03-10 11:51:51 +01:00
parent 51d7fd6190
commit d3ceba8955

View file

@ -15,7 +15,8 @@ class DossierDashboard < Administrate::BaseDashboard
text_summary: Field::String.with_options(searchable: false), text_summary: Field::String.with_options(searchable: false),
created_at: Field::DateTime, created_at: Field::DateTime,
updated_at: Field::DateTime, updated_at: Field::DateTime,
hidden_at: Field::DateTime, hidden_by_user_at: Field::DateTime,
hidden_by_administration_at: Field::DateTime,
champs: ChampCollectionField champs: ChampCollectionField
}.freeze }.freeze
@ -41,7 +42,8 @@ class DossierDashboard < Administrate::BaseDashboard
:champs, :champs,
:created_at, :created_at,
:updated_at, :updated_at,
:hidden_at :hidden_by_user_at,
:hidden_by_administration_at
].freeze ].freeze
# FORM_ATTRIBUTES # FORM_ATTRIBUTES