admin: order by user email

This commit is contained in:
Christophe Robillard 2020-02-03 15:10:56 +01:00
parent 91f1722088
commit f8309c45a6

View file

@ -11,7 +11,7 @@
%th= 'Enregistré le'
%th= 'État'
%tbody{ id: "procedure-#{@procedure.id}-administrateurs" }
= render partial: 'administrateur', collection: @procedure.administrateurs.order(:email)
= render partial: 'administrateur', collection: @procedure.administrateurs.order('users.email')
%tfoot
%tr
%th{ colspan: 4 }