feat(manager): add id column to use it as replacement for created_at sorts

This commit is contained in:
Colin Darie 2023-03-30 15:45:03 +02:00
parent e60c92957d
commit 0c3cc31fcd
3 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,7 @@ class AdministrateurDashboard < Administrate::BaseDashboard
# By default, it's limited to four items to reduce clutter on index pages.
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:id,
:user,
:created_at,
:procedures,

View file

@ -23,6 +23,7 @@ class InstructeurDashboard < Administrate::BaseDashboard
# By default, it's limited to four items to reduce clutter on index pages.
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:id,
:user,
:created_at
].freeze

View file

@ -23,6 +23,7 @@ class UserDashboard < Administrate::BaseDashboard
# By default, it's limited to four items to reduce clutter on index pages.
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:id,
:email,
:created_at
].freeze