feat(manager): add id column to use it as replacement for created_at sorts
This commit is contained in:
parent
e60c92957d
commit
0c3cc31fcd
3 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue